cvs: php4 /main streams.c

From: Date: Sat, 19 Oct 2002 10:34:10 +0000
Subject: cvs: php4 /main streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15047@lists.php.net to get a copy of this message
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; } }

« previous php.cvs (#15047) next »