cvs: php-src /ext/pcre upgrade-pcre.php

From: Date: Mon, 14 Jan 2008 09:40:53 +0000
Subject: cvs: php-src /ext/pcre upgrade-pcre.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-47828@lists.php.net to get a copy of this message
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";

« previous php.cvs (#47828) next »