moriyoshi Mon Mar 31 18:22:10 2003 EDT
Modified files:
/php4/main/streams streams.c
Log:
Fixed bug #22538 (stream filter problem)
Index: php4/main/streams/streams.c
diff -u php4/main/streams/streams.c:1.15 php4/main/streams/streams.c:1.16
--- php4/main/streams/streams.c:1.15 Mon Mar 31 17:13:01 2003
+++ php4/main/streams/streams.c Mon Mar 31 18:22:10 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.15 2003/03/31 22:13:01 iliaa Exp $ */
+/* $Id: streams.c,v 1.16 2003/03/31 23:22:10 moriyoshi Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -843,7 +843,7 @@
/* Only screw with the buffer if we can seek, otherwise we
lose data
* buffered from fifos and sockets */
- if (stream->ops->seek && (stream->flags &
PHP_STREAM_FLAG_NO_SEEK) == 0 && !php_stream_is_filtered(stream)) {
+ if (stream->ops->seek && (stream->flags &
PHP_STREAM_FLAG_NO_SEEK) == 0) {
stream->position += justwrote;
}
} else {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php