Re: CFV: TZ offset handling

2011-03-11 Thread Robert Story
On Wed, 9 Mar 2011 11:20:36 + Dave wrote: DS Unfortunately, our code (in snmplib/snmp-tc.c:date_n_time()) DS treats them as equivalent, and hence gets the wrong answer DS when using the tm_gmtoff form. DS DS The fix (attached) is clearly trivial, and I'd like to include this DS in 5.5.1

Re: CFV: TZ offset handling

2011-03-11 Thread Thomas Anders
Dave Shield wrote: The fix (attached) is clearly trivial, and I'd like to include this in 5.5.1 (although it's not strictly a show-stopper). +1 Thomas -- Colocation vs. Managed Hosting A question and answer guide

CFV: TZ offset handling

2011-03-09 Thread Dave Shield
Bug #3178389 has picked up on a silly error in the handling of TZ offsets. The time.h header (on Linux at least) defines two ways of representing the offset between the local time, and UTC: extern long int timezone; /* Seconds west of UTC. */ and struct tm { long int

Re: CFV: TZ offset handling

2011-03-09 Thread Niels Baggesen
On Wed, Mar 09, 2011 at 11:20:36AM +, Dave Shield wrote: Bug #3178389 has picked up on a silly error in the handling of TZ offsets. +1 /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming