cvs: php4 /main streams.c

From: Date: Wed, 02 Oct 2002 13:18:01 +0000
Subject: cvs: php4 /main streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14403@lists.php.net to get a copy of this message
helly Wed Oct 2 09:18:01 2002 EDT Modified files: /php4/main streams.c Log: Missing variable init Index: php4/main/streams.c diff -u php4/main/streams.c:1.86 php4/main/streams.c:1.87 --- php4/main/streams.c:1.86 Sat Sep 28 18:10:46 2002 +++ php4/main/streams.c Wed Oct 2 09:18:01 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streams.c,v 1.86 2002/09/28 22:10:46 wez Exp $ */ +/* $Id: streams.c,v 1.87 2002/10/02 13:18:01 helly Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -615,7 +615,7 @@ PHPAPI char *_php_stream_gets(php_stream *stream, char *buf, size_t maxlen TSRMLS_DC) { - char *cr, *lf, *eol; + char *cr, *lf, *eol = NULL; size_t toread = 0, didread = 0, justread = 0, avail = 0; char *readptr;

« previous php.cvs (#14403) next »