summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-12-10 18:39:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-10 18:39:33 +0000
commit400728b860602b352de8071deef81019cfa0d73e (patch)
treeb2943bc8a1a989320ec8eb656cbaaab98fb990cc
parent0a022e8e9f2eec4dde5e31513c787e06f89c8a31 (diff)
downloadperl-400728b860602b352de8071deef81019cfa0d73e.tar.gz
Darwin is not Windows.
p4raw-id: //depot/perl@8075
-rw-r--r--lib/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CGI.pm b/lib/CGI.pm
index e9c916f9b5..f49b618074 100644
--- a/lib/CGI.pm
+++ b/lib/CGI.pm
@@ -107,7 +107,7 @@ unless ($OS) {
$OS = $Config::Config{'osname'};
}
}
-if ($OS=~/Win/i) {
+if ($OS=~/win32/i) {
$OS = 'WINDOWS';
} elsif ($OS=~/vms/i) {
$OS = 'VMS';