nlopess Mon Jan 14 09:40:29 2008 UTC
Modified files: (Branch: PHP_5_3)
/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.1.2.3&r2=1.1.2.3.2.1&diff_format=u
Index: php-src/ext/pcre/upgrade-pcre.php
diff -u php-src/ext/pcre/upgrade-pcre.php:1.1.2.3
php-src/ext/pcre/upgrade-pcre.php:1.1.2.3.2.1
--- php-src/ext/pcre/upgrade-pcre.php:1.1.2.3 Tue Sep 11 16:17:33 2007
+++ php-src/ext/pcre/upgrade-pcre.php Mon Jan 14 09:40:29 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