Gerrit P. Haase [Sun, 17 Dec 2000 21:46:39 +0000 (22:46 +0100)]
Message-ID: <
3A3D343F.13566.1ACA7D93@localhost>
Neither cygwin has a getpwuid() one can trust on.
p4raw-id: //depot/perl@8158
# look up the user's home directory
# should return a list with one item, and not set ERROR
-if ($^O ne 'MSWin32' && $^O ne 'VMS') {
+if ($^O ne 'MSWin32' && $^O ne 'VMS' && $^O ne 'cygwin') {
eval {
($name, $home) = (getpwuid($>))[0,7];
1;