tony2001                Mon Apr 11 11:19:40 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/main/streams       streams.c 
  Log:
  MFH: revert the patch
  
  
http://cvs.php.net/diff.php/php-src/main/streams/streams.c?r1=1.61.2.9&r2=1.61.2.10&ty=u
Index: php-src/main/streams/streams.c
diff -u php-src/main/streams/streams.c:1.61.2.9 
php-src/main/streams/streams.c:1.61.2.10
--- php-src/main/streams/streams.c:1.61.2.9     Wed Apr  6 04:26:44 2005
+++ php-src/main/streams/streams.c      Mon Apr 11 11:19:40 2005
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: streams.c,v 1.61.2.9 2005/04/06 08:26:44 tony2001 Exp $ */
+/* $Id: streams.c,v 1.61.2.10 2005/04/11 15:19:40 tony2001 Exp $ */
 
 #define _GNU_SOURCE
 #include "php.h"
@@ -836,10 +836,6 @@
 
        php_stream_fill_read_buffer(stream, maxlen TSRMLS_CC);
 
-       if ((stream->writepos - stream->readpos)<=0) {
-               return NULL;
-       }
-
        if (delim_len == 0 || !delim) {
                toread = maxlen;
        } else {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to