summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-08-16 11:14:34 +0000
committerNicholas Clark <nick@ccl4.org>2007-08-16 11:14:34 +0000
commit6fa15125b04dc4cc02d77ce6e716cd7339b9c3e0 (patch)
treeb51c45e7871b0359902d5e5dc5b17b490937f827 /ext/POSIX
parent79abca9fbd7b0328b045b2d70fdde99cac0a8bb4 (diff)
downloadperl-6fa15125b04dc4cc02d77ce6e716cd7339b9c3e0.tar.gz
Correct parentheses. Calling Win32::GetOSVersion() on non-win32 would
be bad, m'kay. p4raw-id: //depot/perl@31725
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/t/posix.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/t/posix.t b/ext/POSIX/t/posix.t
index 93e2602c49..2da3b43bcc 100644
--- a/ext/POSIX/t/posix.t
+++ b/ext/POSIX/t/posix.t
@@ -188,9 +188,9 @@ $lc = &POSIX::setlocale(&POSIX::LC_TIME, 'C') if $Config{d_setlocale};
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);
}