nlopess         Mon Jan 14 09:40:53 2008 UTC

  Modified files:              
    /php-src/ext/pcre   upgrade-pcre.php 
  Log:
  MFB5.2: fix script for files with short names
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/upgrade-pcre.php?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/pcre/upgrade-pcre.php
diff -u php-src/ext/pcre/upgrade-pcre.php:1.2 
php-src/ext/pcre/upgrade-pcre.php:1.3
--- php-src/ext/pcre/upgrade-pcre.php:1.2       Tue Sep 11 16:19:14 2007
+++ php-src/ext/pcre/upgrade-pcre.php   Mon Jan 14 09:40:53 2008
@@ -37,9 +37,9 @@
 
                if ($file[0] === '.' ||
                $file === 'CVS' ||
-               substr_compare($file, '.lo', -3, 3) == 0 ||
-               substr_compare($file, '.loT', -4, 4) == 0 ||
-               substr_compare($file, '.o', -2, 2) == 0) continue;
+               @substr_compare($file, '.lo', -3, 3) === 0 ||
+               @substr_compare($file, '.loT', -4, 4) === 0 ||
+               @substr_compare($file, '.o', -2, 2) === 0) continue;
 
                $file = "$path/$file";
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to