![]() |
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch stream_oef.diff for Streams related Bug #69049Patch version 2015-02-13 12:39 UTC Return to Bug #69049 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: aserbulov@parallels.com--- main/streams/plain_wrapper.c Wed Jan 21 10:23:27 2015 +++ main/streams/plain_wrapper.c Fri Feb 13 18:25:26 2015 @@ -386,7 +386,7 @@ ret = read(data->fd, buf, count); } - stream->eof = (ret == 0 || (ret == (size_t)-1 && errno != EWOULDBLOCK && errno != EINTR && errno != EBADF)); + stream->eof = ((ret == 0 && count) || (ret == (size_t)-1 && errno != EWOULDBLOCK && errno != EINTR && errno != EBADF)); } else { #if HAVE_FLUSHIO |
![]() All rights reserved. |
Last updated: Fri Mar 14 09:01:29 2025 UTC |