This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Perl pathname parsing, File::Spec, proposed fix
- From: "linda w \(cyg\)" <cygwin at tlinx dot org>
- To: <cygwin at cygwin dot com>
- Date: Mon, 30 Dec 2002 18:18:43 -0800
- Subject: Perl pathname parsing, File::Spec, proposed fix
Does anyone see a problem with the following proposed change in the
Perl lib dir?
It seems the Win32 handles both forward and backward slashes and
no special module for Cygwin is needed.
Linda
--- File/Spec.pm 2001-08-21 17:16:14.000000000 -0700
+++ File/Spec.pm 2002-12-30 18:08:50.000000000 -0800
@@ -9,7 +9,8 @@
MSWin32 => 'Win32',
os2 => 'OS2',
VMS => 'VMS',
- epoc => 'Epoc');
+ epoc => 'Epoc',
+ cygwin => 'Win32');
my $module = $module{$^O} || 'Unix';
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/