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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php