]> granicus.if.org Git - php/commitdiff
Fix #25939 for good this time.
authorWez Furlong <wez@php.net>
Thu, 27 May 2004 13:04:14 +0000 (13:04 +0000)
committerWez Furlong <wez@php.net>
Thu, 27 May 2004 13:04:14 +0000 (13:04 +0000)
# How could I miss this??

main/streams/streams.c

index fbce8ecfc75a4b3854651bf9e245b3bea53e5dfe..df5b5060294c43ee1b7617f88f4878b4c29b4ed1 100755 (executable)
@@ -608,7 +608,7 @@ PHPAPI int _php_stream_eof(php_stream *stream TSRMLS_DC)
        /* use the configured timeout when checking eof */
        if (!stream->eof && PHP_STREAM_OPTION_RETURN_ERR ==
                        php_stream_set_option(stream, PHP_STREAM_OPTION_CHECK_LIVENESS,
-                       -1, NULL)) {
+                       0, NULL)) {
                stream->eof = 1;
        }