This is the mail archive of the cygwin-apps@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]

tiny perl getopt module patch


Getopt::Long has a bug in it, which i think is already fixed in cvs. but for
those of us who use the perl that comes with cygwin, here it is:

--- /usr/lib/perl5/5.6.1/Getopt/Long.pm~        Mon Mar 12 11:48:07 200
+++ /usr/lib/perl5/5.6.1/Getopt/Long.pm Mon Mar 12 11:48:07 2001
@@ -181,7 +181,7 @@
     my $save = Getopt::Long::Configure ($self->{settings}, @_);

     # Restore orig config and save the new config.
-    $self->{settings} = Configure ($save);
+    $self->{settings} = Getopt::Long::Configure ($save);
 }

 sub getoptions {

cheers,
edward


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