ID: 45449 Updated by: [EMAIL PROTECTED] Reported By: crrodriguez at suse dot de -Status: Open +Status: Closed Bug Type: FTP related Operating System: linux PHP Version: 5.2.6 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for the patch. Previous Comments: ------------------------------------------------------------------------ [2008-07-08 06:59:26] crrodriguez at suse dot de Description: ------------ Unfortunately, my bugfix for bug #43498 introduced a regression that can be seen using filesize() and the FTP wrapper Reproduce code: --------------- <?php var_dump(filesize('ftp://ftp-1.gwdg.de/pub/locatedb')); ?> Expected result: ---------------- int(143162194) Actual result: -------------- int(0) I have fixed it, though, oops, sorry ;-) there it goes: http://stuff.cristianrodriguez.net/patches/filesize-regression.patch ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45449&edit=1