delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/12/12:45:07

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <012b01c0ab14$baf4e0c0$9865fea9@edward>
From: "edward" <tailbert AT yahoo DOT com>
To: <cygwin-apps AT cygwin DOT com>
Subject: tiny perl getopt module patch
Date: Mon, 12 Mar 2001 11:51:44 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Apparently-From: Swiftnsavv AT aol DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019