Commit 99792df6 authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

r13473@catbus: nickm | 2007-06-17 13:42:36 -0400

 Fix solaris eventdns.c behavior.  This time, I think I got it.  We were redefining _FILE_OFFSET_BITS, and thereby calling fstat64() on a struct stat, or something like that.


svn:r10643
parent 721899a4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -37,6 +37,9 @@ Changes in version 0.2.0.3-alpha - 2007-??-??
    - Add DNSPort connections to the global connection list, so that we
      can time them out correctly. (Bug found by mwenge) [Bugfix on
      0.2.0.2-alpha]
    - Fix eventdns.c behavior on Solaris: It is critical to include
      orconfig.h _before_ sys/types.h, so that we can get the expected
      definition of _FILE_OFFSET_BITS.  [Bugfix on 0.1.2.x]

  o Minor bugfixes (hidden services):
    - Stop tearing down the whole circuit when the user asks for a
+1 −2
Original line number Diff line number Diff line
@@ -32,10 +32,9 @@
 * Version: 0.1b
 */

#include <sys/types.h>
#include "eventdns_tor.h"
#include <sys/types.h>
//#define NDEBUG
#include "../common/torint.h"

#ifndef DNS_USE_CPU_CLOCK_FOR_ID
#ifndef DNS_USE_GETTIMEOFDAY_FOR_ID