This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]