New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POSIX::strftime() breaks on Windows Vista if first arg is 60 #8992
Comments
From @sisyphusTo: perlbug@perl.org This is a bug report for perl from sisyphus@cpan.org, On Windows Vista Business (64-bit), AMD64 processor I get: C:\_32\pscrpt>type try.pl my $expect = "Thu Feb 29 00:00:60 1996 060"; C:\_32\pscrpt>perl try.pl That's a copy'n'paste of what happens when running ActiveState's x86 build With MinGW-built perl 5.8.8 the script just hangs, producing no output at On Windows 2000 $got eq $expect (for both perl 5.8.8 and 5.9.5 - ActiveState I guess that Vista and 2000 are using different runtimes. Flags: Site configuration information for perl v5.8.8: Configured by SYSTEM at Tue Jul 31 19:34:29 2007. Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Locally applied patches: @INC for perl v5.8.8: Environment for perl v5.8.8: |
From @steve-m-haySisyphus" (via RT) wrote:
That's because 5.8.8 doesn't contain #29350, which fixed an infinite
I get the same result testing on XP (OK) and Vista (not OK). They do indeed seem to be using different CRTs: looking at the versions XP SP2: 7.0.2600.2180 I guess the newer CRT contains some of the changes that are in VC8's I'll change the test to skip on Vista (or higher) as well as for VC8 (or |
The RT System itself - Status changed from 'new' to 'open' |
From @steve-m-hayNow fixed in bleadperl by change #31721. |
@steve-m-hay - Status changed from 'open' to 'resolved' |
From @smpetersOn Mon, Aug 13, 2007 at 10:19:10AM +0100, Steve Hay wrote:
Looking at MSDN, the documention for %S in strftime() is listed as Second as decimal number (00 - 59) while POSIX gives Replaced by the second as a decimal number [00,60]. So it appears that Microsoft has simply changed its functionality to match Steve Peters |
Migrated from rt.perl.org#44589 (status was 'resolved')
Searchable as RT44589$
The text was updated successfully, but these errors were encountered: