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

From: Date: Sun, 11 Jun 2006 10:41:01 +0000
Subject: #37778 [Opn->Fbk]: 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-98276@lists.php.net to get a copy of this message
ID: 37778 Updated by: derick@php.net Reported By: postings-php-bug at hans-spath dot de -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Linux 2.6.8 PHP Version: 5.1.4 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#98276) next »