[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Perl pathname parsing, File::Spec, proposed fix
From:       "linda w \(cyg\)" <cygwin () tlinx ! org>
Date:       2002-12-31 2:18:43
[Download RAW message or body]


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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic