tony2001 Tue Nov 21 20:58:17 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main/streams filter.c
Log:
ensure that bucket->brigade is NULL in newly created bucket
http://cvs.php.net/viewvc.cgi/php-src/main/streams/filter.c?r1=1.17.2.3.2.3&r2=1.17.2.3.2.4&diff_format=u
Index: php-src/main/streams/filter.c
diff -u php-src/main/streams/filter.c:1.17.2.3.2.3
php-src/main/streams/filter.c:1.17.2.3.2.4
--- php-src/main/streams/filter.c:1.17.2.3.2.3 Wed Oct 11 23:11:26 2006
+++ php-src/main/streams/filter.c Tue Nov 21 20:58:17 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filter.c,v 1.17.2.3.2.3 2006/10/11 23:11:26 pollita Exp $ */
+/* $Id: filter.c,v 1.17.2.3.2.4 2006/11/21 20:58:17 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -102,6 +102,7 @@
}
bucket->is_persistent = is_persistent;
bucket->refcount = 1;
+ bucket->brigade = NULL;
return bucket;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php