Change 31725 by [EMAIL PROTECTED] on 2007/08/16 11:14:34
Correct parentheses. Calling Win32::GetOSVersion() on non-win32 would
be bad, m'kay.
Affected files ...
... //depot/perl/ext/POSIX/t/posix.t#28 edit
Differences ...
==== //depot/perl/ext/POSIX/t/posix.t#28 (text) ====
Index: perl/ext/POSIX/t/posix.t
--- perl/ext/POSIX/t/posix.t#27~31721~ 2007-08-15 05:44:08.000000000 -0700
+++ perl/ext/POSIX/t/posix.t 2007-08-16 04:14:34.000000000 -0700
@@ -188,9 +188,9 @@
try_strftime("Wed Feb 28 00:00:00 1996 059", 0,0,0, 28,1,96);
SKIP: {
skip("VC++ 8 and Vista's CRTs regard 60 seconds as an invalid parameter",
1)
- if ($Is_W32 and ($Config{cc} eq 'cl' and
+ if ($Is_W32 and (($Config{cc} eq 'cl' and
$Config{ccversion} =~ /^(\d+)/ and $1 >= 14) or
- ((Win32::GetOSVersion())[1] >= 6));
+ (Win32::GetOSVersion())[1] >= 6));
try_strftime("Thu Feb 29 00:00:60 1996 060", 60,0,-24, 30,1,96);
}
End of Patch.