Edit report at http://bugs.php.net/bug.php?id=52078&edit=1

 ID:                 52078
 User updated by:    glen at delfi dot ee
 Reported by:        glen at delfi dot ee
 Summary:            fileinode overflow test
                     ext/standard/tests/file/fileinode_variation3.phpt
 Status:             Open
 Type:               Bug
 Package:            Filesystem function related
 Operating System:   PLD Linux
 PHP Version:        5.3.2
 Block user comment: N
 Private report:     N

 New Comment:

i've kept it somewhat updated here:



http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/bug-52078-fileinode.patch


Previous Comments:
------------------------------------------------------------------------
[2010-06-13 23:38:01] glen at delfi dot ee

fix package

------------------------------------------------------------------------
[2010-06-13 23:29:48] 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.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52078&edit=1

Reply via email to