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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <012b01c0ab14$baf4e0c0$9865fea9@edward> From: "edward" To: Subject: tiny perl getopt module patch Date: Mon, 12 Mar 2001 11:51:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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