http://svn.apache.org/viewcvs.cgi/apr/apr/trunk/time/unix/time.c?view=mark up
Can you say "Jump thru hoops"?
Hehe, I'm not an animal and I also don't think it's that complicated ;).
I wonder if this should be implemented in syslog-ng as well?
I hope so! But that's easy for me to say, looking in from the outside. ;-)
Well, as I've said, time handling is one of the few big mysteries of Unix to me; so I'm not sure if the approach the httpd source is taking is sound, but judging from its geographical widespread it might be.
Bazsi is in Sevilla enjoying the sun and giving interesting speeches at the present time ;).
Sounds well deserved! I hope that it's an enjoyable trip!
He'll be slurping Sangria all day long ... hope not.
Could you grep for this tm_gmtoff and altzone as follows, please (maybe it's defined as __tm_gmtoff)?
find /usr/ -type f -name "*.h" -exec grep "tm_gmtoff" /dev/null {} \;
These hits: /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/config.h: * the struct tm has a tm_gmtoff field. /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/uconfig.h: * the struct tm has a tm_gmtoff field.
Ahh, that's unfortunately perl related and most definitely not shipped with SunOS 5.8 either.
find /usr/ -type f -name "*.h" -exec grep "altzone" /dev/null {} \;
These hits: /usr/include/time.h:extern long altzone; /usr/include/time.h:extern long timezone, altzone;
So we could indeed use the suggestion of the Solaris 8 man page ;). I hope I can spare some minutes to look at this problem since we have a strategic product based on syslog-ng as well, which is among other OS also developed and packaged for Solaris (SunOS 5.6 - 5.10).
Thanks for the help Roberto. You have a great week.
I wasn't too much of a help yet, but have a nice one as well. Regards, Roberto Nibali, ratz -- ------------------------------------------------------------- addr://Kasinostrasse 30, CH-5001 Aarau tel://++41 62 823 9355 http://www.terreactive.com fax://++41 62 823 9356 ------------------------------------------------------------- terreActive AG Wir sichern Ihren Erfolg -------------------------------------------------------------