Subject: | minor fix for 'cygwin' |
(against 5.8 File/Spec.pm)
15c15
< cygwin => 'Cygwin');
---
Show quoted text
> cygwin => 'Win32'); #Yes Win32 works for cygwin
=======
Seems like someone is under the mis-impression that 'cygwin' is
posix compliant, whereas it is really Win32 compliant for pathname
parsing.
The win32 module handles //host/share, \\host\share, C:\foobar/slant\backslant, and unix-like-filenames /like/usr/src, but
not filenames like '\:\' -- legal in Posix, but not cygwin or win32.
'\' is parsed as a directory separator in the underlying OS in
cygwin32 and ':' is reserved for devices. Cygwin doesn't re-encode
such filenames to get around win32 restrictions.
At this point, I don't see a need for a separate 'cygwin' OS type for
thisi module.
Linda A. W.