cvs: php-src /ext/standard streamsfuncs.c

From: Date: Thu, 27 Nov 2003 17:37:36 +0000
Subject: cvs: php-src /ext/standard streamsfuncs.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24680@lists.php.net to get a copy of this message
wez Thu Nov 27 12:37:36 2003 EDT Modified files: /php-src/ext/standard streamsfuncs.c Log: initialize this one to be safe Index: php-src/ext/standard/streamsfuncs.c diff -u php-src/ext/standard/streamsfuncs.c:1.27 php-src/ext/standard/streamsfuncs.c:1.28 --- php-src/ext/standard/streamsfuncs.c:1.27 Mon Nov 3 09:12:44 2003 +++ php-src/ext/standard/streamsfuncs.c Thu Nov 27 12:37:35 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streamsfuncs.c,v 1.27 2003/11/03 14:12:44 derick Exp $ */ +/* $Id: streamsfuncs.c,v 1.28 2003/11/27 17:37:35 wez Exp $ */ #include "php.h" #include "php_globals.h" @@ -570,7 +570,7 @@ Runs the select() system call on the sets of streams with a timeout specified by tv_sec and tv_usec */ PHP_FUNCTION(stream_select) { - zval *r_array, *w_array, *e_array, *sec; + zval *r_array, *w_array, *e_array, *sec = NULL; struct timeval tv; struct timeval *tv_p = NULL; fd_set rfds, wfds, efds;

« previous php.cvs (#24680) next »