summaryrefslogtreecommitdiff
path: root/main/streams/streams.c
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2008-11-24 15:35:03 +0000
committerDavid Soria Parra <dsp@php.net>2008-11-24 15:35:03 +0000
commite61a107e8b4dad9832112f1bc2440c7b167e6e6b (patch)
tree235a19a81cc3cb94f79c3dd69a228bdd864642ea /main/streams/streams.c
parent21e22981c17cd4091ed9758257d9c9b9b9114e7f (diff)
downloadphp-git-e61a107e8b4dad9832112f1bc2440c7b167e6e6b.tar.gz
Revert fix for 43782, as it caused problems.
[DOC] We better document the issue at it is.
Diffstat (limited to 'main/streams/streams.c')
-rwxr-xr-xmain/streams/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index ba2f65c5d3..ec054813da 100755
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -840,7 +840,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;
}