From: [EMAIL PROTECTED] Operating system: win9x PHP version: 4CVS-2003-02-15 (stable) PHP Bug Type: Filesystem function related Bug description: php_stream_read() + stream_select() clobbers read buffer for pipes
stream_select() causes a buffer synchronization which will clobber the read buffer of any stream that is marked seekable. This behaviour is intended, but under win9x, we cannot always determine if a stream is a FIFO, and this can cause data loss if the buffer size specified in php_stream_read() is ever smaller than the amount of data read in a single read operation (the excess data is lost during the next stream_select() call). -- Edit bug report at http://bugs.php.net/?id=22238&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22238&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22238&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22238&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22238&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22238&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22238&r=support Expected behavior: http://bugs.php.net/fix.php?id=22238&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22238&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22238&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22238&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22238&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22238&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22238&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22238&r=gnused