1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

Fix for Bug #28964 fread "greedy" behaviour

This commit is contained in:
Wez Furlong
2004-06-29 21:51:53 +00:00
parent 2aa678b088
commit 8f435013ff
+3
View File
@@ -590,6 +590,9 @@ PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t size TSRMLS
/* EOF, or temporary end of data (for non-blocking mode). */
break;
}
/* just break anyway, to avoid greedy read */
break;
}
if (didread > 0) {