Re: BUG: Timezone failures with threads under Cygwin 1.5.25

2007-12-11 Thread Corinna Vinschen
On Dec 11 10:24, Jerry D. Hedden wrote: > Corinna Vinschen wrote: > > It would be more helpful if you would send self-contained code which > > doesn't have to be tweaked to do a test. I'm not a perl developer, so > > it took me some time to get it running. I'd also really prefer > > testcases in

Re: BUG: Timezone failures with threads under Cygwin 1.5.25

2007-12-11 Thread Jerry D. Hedden
Jerry D. Hedden wrote: > [...] > Under 1.5.24, this test always passes. Under 1.5.25, it is > now frequently failing. If I add a debugging call in the > central most loop: > > print("got: $lt exp: $localtime\n"); > > I get the following as typical of the problem: > > 5 perl-curre

Re: BUG: Timezone failures with threads under Cygwin 1.5.25

2007-12-11 Thread Corinna Vinschen
On Dec 10 17:00, Jerry D. Hedden wrote: > [...] > Under 1.5.24, this test always passes. Under 1.5.25, it is > now frequently failing. If I add a debugging call in the > central most loop: > > print("got: $lt exp: $localtime\n"); > > I get the following as typical of the problem: >

BUG: Timezone failures with threads under Cygwin 1.5.25

2007-12-10 Thread Jerry D. Hedden
(CC'ed to perl5-porters for reference.) The Perl test suite contains a file (perl-current/ext/threads/t/libc.t) that exercises the 'localtime' call under threads. Here's the main code: my $i = 10; my $y = 2; my %localtime; for (1..$i) { $localtime{$_} = localtime($_)