Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6808

Modified Files:
        Validation.pm ChangeLog 
Log Message:
Fix regex in libtool %b test to not crash if regex metachars in %p.


Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- Validation.pm       3 Dec 2004 10:53:00 -0000       1.159
+++ Validation.pm       3 Dec 2004 12:58:43 -0000       1.160
@@ -991,7 +991,7 @@
                        if ( $filename =~/\.la$/ ) {
                                open(LA_FILE, "dpkg --fsys-tarfile 
$dpkg_filename | tar -xf - -O .$filename |") or die "Couldn't run dpkg: $!\n";
                                while (<LA_FILE>) {
-                                       if (/$pkgbuilddir\//) {
+                                       if (/\Q$pkgbuilddir\/\E/) {
                                                print "Warning: libtool file 
$filename points to fink build dir. ($dpkg_filename)\n";
                                                $looks_good = 0;
                                        }

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.768
retrieving revision 1.769
diff -u -d -r1.768 -r1.769
--- ChangeLog   3 Dec 2004 10:52:59 -0000       1.768
+++ ChangeLog   3 Dec 2004 12:58:43 -0000       1.769
@@ -1,6 +1,7 @@
 2004-12-03  Daniel Macks  <[EMAIL PROTECTED]>
 
-       * Validation.pm: Fix 'entries that end in "/"' msg
+       * Validation.pm: Fix 'entries that end in "/"' msg.
+       Fix regex in libtool %b test.
 
 2004-12-03  Daniel Macks  <[EMAIL PROTECTED]>
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to