#37778 [Fbk->Opn]: several filesystem functions fail on files >2GB - e.g. fileatime(), fileowner()

From: Date: Sun, 11 Jun 2006 13:24:49 +0000
Subject: #37778 [Fbk->Opn]: several filesystem functions fail on files >2GB - e.g. fileatime(), fileowner()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98278@lists.php.net to get a copy of this message
ID: 37778 User updated by: postings-php-bug at hans-spath dot de Reported By: postings-php-bug at hans-spath dot de -Status: Feedback +Status: Open Bug Type: Filesystem function related Operating System: Linux 2.6.8 PHP Version: 5.1.4 New Comment: I really want to test the CVS version, but I run Debian Sarge and can't ./configure it: configure: error: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: 2.5.31). ** So please, can someone else test this? ** Previous Comments: ------------------------------------------------------------------------ [2006-06-11 10:41:01] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2006-06-11 02:34:39] postings-php-bug at hans-spath dot de Ooops... the expected result was for fileowner()... but you get the idea... ------------------------------------------------------------------------ [2006-06-11 02:23:45] postings-php-bug at hans-spath dot de Description: ------------ Several filesystem functions fail on files greater than 2GB. Affected functions are: - fileatime() - filectime() - filegroup() - fileinode() - filemtime() - fileowner() - fileperms() - filesize() - I wouldn't complain if only this was affected. - filetype() - stat() (maybe more...) Reproduce code: --------------- echo fileatime("file-greater-than-2gb"); Expected result: ---------------- 1000 Actual result: -------------- Warning: fileowner(): stat failed for file-greater-than-2gb in Command line code on line 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37778&edit=1

« previous php.bugs (#98278) next »