|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-06-13 23:29 UTC] glen at delfi dot ee
Description: ------------ fileinode overflows on filesystem where inode count is huge. it is mentioned in comment of manual as well: http://php.net/manual/en/function.fileinode.php Test script: --------------- $ (t=`mktemp -d`; cd $t; php -r 'var_dump(fileinode("."));'; echo $t; ls -ldi $t) int(-2051936757) /home/users/glen/tmp/tmp.zLdoithBR0 2243030539 drwx------ 2 glen users 6 Jun 14 00:26 /home/users/glen/tmp/tmp.zLdoithBR0/ Expected result: ---------------- test must be fixed to expect %i instead of %d. Patchesfileinode.patch (last revision 2010-06-13 21:30 UTC by glen at delfi dot ee)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 15:00:01 2025 UTC |
as you maybe have noted, one chunk takes different approach: if (PHP_INT_SIZE == 4) die("skip this test is for >32bit platform only (inodes overflow there)"); maybe should rather skip overflowing tests there?