#27765 [NEW]: is_dir on large file make an error

From: Date: Mon, 29 Mar 2004 22:59:56 +0000
Subject: #27765 [NEW]: is_dir on large file make an error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57067@lists.php.net to get a copy of this message
From: chris at root dot pl Operating system: Linux 2.4.25 SMP PHP version: 4.3.4 PHP Bug Type: Directory function related Bug description: is_dir on large file make an error Description: ------------ when I make is_dir function of file which has about 4gb (DVD ISO), then PHP makes an error: Warning: is_dir(): Stat failed for /var/ftp/public/filest_dvd.iso (errno=75 - Value too large for defined data type) in /var/htdocs/html/akacjenet/include/addons/ftpfiles.inc on line 17 Reproduce code: --------------- it doesn't matter Expected result: ---------------- i want to know is that file is a file or a directory... I have a small script for catalogue ftp content into mysql database Actual result: -------------- Warning: is_dir(): Stat failed for /var/ftp/public/filest_dvd.iso (errno=75 - Value too large for defined data type) in /var/htdocs/html/akacjenet/include/addons/ftpfiles.inc on line 17 -- Edit bug report at http://bugs.php.net/?id=27765&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27765&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27765&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27765&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27765&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27765&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27765&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27765&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27765&r=support Expected behavior: http://bugs.php.net/fix.php?id=27765&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27765&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27765&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27765&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27765&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27765&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27765&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27765&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27765&r=float

« previous php.bugs (#57067) next »