localtime_r not returning local time

2004-02-08 Thread Yitzchak Scott-Thoennes
localtime_r is (if no direct or indirect call to tzset has been made) returning UTC time. This is the source of the cygwin perl bug where perl's localtime() is returning UTC time. See: http://groups.google.com/[EMAIL PROTECTED] Perl does not ever directly call tzset (except when perl code calls

RE: localtime_r not returning local time

2004-02-12 Thread Rafael Kitover
age- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Yitzchak Scott-Thoennes >Sent: Sunday, February 08, 2004 10:40 AM >To: [EMAIL PROTECTED] >Subject: localtime_r not returning local time > >localtime_r is (if no direct or indirect call to tzset has been m

Re: localtime_r not returning local time

2004-02-12 Thread Yitzchak Scott-Thoennes
On Thu, Feb 12, 2004 at 01:10:03PM -0800, Rafael Kitover wrote: > Would it be a lot of overhead to have something like tzset be called in the > bootstrap code for launching Cygwin programs? Or maybe just have a DLL global > default, based on windows time zone, and just allow processes to reset it f

Re: localtime_r not returning local time

2004-02-13 Thread Gerrit P. Haase
Yitzchak wrote: > On Thu, Feb 12, 2004 at 01:10:03PM -0800, Rafael Kitover wrote: >> Would it be a lot of overhead to have something like tzset be called in the >> bootstrap code for launching Cygwin programs? Or maybe just have a DLL global >> default, based on windows time zone, and just allow p

Re: localtime_r not returning local time

2004-02-13 Thread Christopher Faylor
On Fri, Feb 13, 2004 at 12:40:12PM +0100, Gerrit P. Haase wrote: >Yitzchak wrote: >>On Thu, Feb 12, 2004 at 01:10:03PM -0800, Rafael Kitover wrote: >>>Would it be a lot of overhead to have something like tzset be called in >>>the bootstrap code for launching Cygwin programs? Or maybe just have a >

Re: localtime_r not returning local time

2004-02-13 Thread Brian . Kelly
) Subject:Re: localtime_r not returning local time On Fri, Feb 13, 2004 at 12:40:12PM +0100, Gerrit P. Haase wrote: >Yitzchak wrote: >>On Thu, Feb 12, 2004 at 01:10:03PM -0800, Rafael Kitover wrote: >>>Would it be a lot of overhead to have something like tzset be called in >>

Re: localtime_r not returning local time

2004-02-13 Thread Gerrit P. Haase
Christopher wrote: > On Fri, Feb 13, 2004 at 12:40:12PM +0100, Gerrit P. Haase wrote: >>Yitzchak wrote: >>>On Thu, Feb 12, 2004 at 01:10:03PM -0800, Rafael Kitover wrote: Would it be a lot of overhead to have something like tzset be called in the bootstrap code for launching Cygwin program

Re: localtime_r not returning local time

2004-02-13 Thread Larry Hall
At 10:11 AM 2/13/2004, [EMAIL PROTECTED] you wrote: >YEA! - I need this fix since I use the localtime feature of perl and have >been stuck with 5.8.0 (and rolling back >to 5.6 required complete re-installation of all other CPAN modules) - which >had been removed from setup. > >Anyhow THANK YOU!!!