wez Sat Oct 19 06:34:10 2002 EDT Modified files: /php4/main streams.c Log: Probable fix for #19944 Index: php4/main/streams.c diff -u php4/main/streams.c:1.110 php4/main/streams.c:1.111 --- php4/main/streams.c:1.110 Fri Oct 18 16:39:49 2002 +++ php4/main/streams.c Sat Oct 19 06:34:10 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streams.c,v 1.110 2002/10/18 20:39:49 iliaa Exp $ */ +/* $Id: streams.c,v 1.111 2002/10/19 10:34:10 wez Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -495,7 +495,7 @@ TSRMLS_CC); } - if (justread > 0) { + if (justread != (size_t)-1) { stream->writepos += justread; } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php