[Snort-devel] GetLocalTimezone() on solaris+others

Thomas Gill theg2 at ...591...
Fri Aug 10 08:55:09 EDT 2001


in plugbase.c,

GetLocalTimezone() uses:

gettimeofday(&tv,&tz);

to get hold of the timezone. This doesn't work on solaris, and I don't
think it will work on a whole load of other OSs. Check out the
man page:

http://www.freebsd.org/cgi/man.cgi?query=gettimeofday&apropos=0&sektion=3&manpath=SunOS+5.8&format=html

the function appears only to be used in spo_database.c and spo_xml.c.

ned.





More information about the Snort-devel mailing list