tyrael                                   Mon, 06 Feb 2012 22:47:21 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=323100

Log:
merging the patch from bug #52078, fixes the test on disk with huge inode 
size(fileinode() can overflow and return negative values there).

Bug: https://bugs.php.net/52078 (Assigned) fileinode overflow test 
ext/standard/tests/file/fileinode_variation3.phpt
      
Changed paths:
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/file/fileinode_variation3.phpt

Modified: 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/fileinode_variation3.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/fileinode_variation3.phpt  
    2012-02-06 21:03:08 UTC (rev 323099)
+++ 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/fileinode_variation3.phpt  
    2012-02-06 22:47:21 UTC (rev 323100)
@@ -57,15 +57,15 @@
 --EXPECTF--
 *** Testing fileinode() with different notations of file names ***
 - Iteration 1 -
-int(%d)
+int(%i)
 - Iteration 2 -

 Warning: fileinode(): stat failed for 
%s//fileinode_variation3/fileinode_variation3.tmp/ in %s on line %d
 bool(false)
 - Iteration 3 -
-int(%d)
+int(%i)
 - Iteration 4 -
-int(%d)
+int(%i)
 - Iteration 5 -

 Warning: fileinode(): stat failed for %s//fileinode_variation3/*.tmp in %s on 
line %d

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

Reply via email to