#35495 [Opn->Asn]: feof() does not report EOF on a zero file

From: Date: Wed, 30 Nov 2005 22:43:41 +0000
Subject: #35495 [Opn->Asn]: feof() does not report EOF on a zero file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89535@lists.php.net to get a copy of this message
ID: 35495 Updated by: sniper@php.net Reported By: dsp at tdcspace dot dk -Status: Open +Status: Assigned Bug Type: Filesystem function related Operating System: linux/win -PHP Version: 4.4.1 +PHP Version: 5CVS, 4CVS (2005-11-30) (snap) -Assigned To: +Assigned To: wez New Comment: Wez, sounds like something isn't working quite well in the streams world? Previous Comments: ------------------------------------------------------------------------ [2005-11-30 22:46:26] dsp at tdcspace dot dk what i don't understand is that the win/linux lower filesystem layer maintains a filepointer of which it should be easy to detect/report a EOF condition. The PHP handle as a file descriptor resource should among things maintain this. But i don't maintain php and thus don't know the reasons. ------------------------------------------------------------------------ [2005-11-30 22:40:21] dsp at tdcspace dot dk nope - 5.1.2.2 cvs - same story - feof() still ignores a zero file ------------------------------------------------------------------------ [2005-11-30 18:42:43] sniper@php.net No, try the 5.1 snapshot. ------------------------------------------------------------------------ [2005-11-30 18:42:21] dsp at tdcspace dot dk is there a cvs for 4.4.1 ------------------------------------------------------------------------ [2005-11-30 18:33:15] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35495 -- Edit this bug report at http://bugs.php.net/?id=35495&edit=1

« previous php.bugs (#89535) next »