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
This commit is contained in:
Nick Mathewson 2007-06-17 17:43:25 +00:00
parent 721899a447
commit 99792df645
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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