diff options
| author | David Soria Parra <dsp@php.net> | 2008-11-24 15:35:03 +0000 |
|---|---|---|
| committer | David Soria Parra <dsp@php.net> | 2008-11-24 15:35:03 +0000 |
| commit | e61a107e8b4dad9832112f1bc2440c7b167e6e6b (patch) | |
| tree | 235a19a81cc3cb94f79c3dd69a228bdd864642ea /main/streams/streams.c | |
| parent | 21e22981c17cd4091ed9758257d9c9b9b9114e7f (diff) | |
| download | php-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-x | main/streams/streams.c | 2 |
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; } |
