cvs: php4 /ext/standard output.c

From: Date: Sat, 17 Mar 2001 03:03:50 +0000
Subject: cvs: php4 /ext/standard output.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4620@lists.php.net to get a copy of this message
zeev Fri Mar 16 19:03:50 2001 EDT Modified files: /php4/ext/standard output.c Log: Fix the output buffering bug Andre found Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.48 php4/ext/standard/output.c:1.49 --- php4/ext/standard/output.c:1.48 Tue Mar 6 11:38:33 2001 +++ php4/ext/standard/output.c Fri Mar 16 19:03:50 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: output.c,v 1.48 2001/03/06 19:38:33 zeev Exp $ */ +/* $Id: output.c,v 1.49 2001/03/17 03:03:50 zeev Exp $ */ #include "php.h" #include "ext/standard/head.h" @@ -157,6 +157,7 @@ orig_buffer->value.str.len = OG(active_ob_buffer).text_length; orig_buffer->type = IS_STRING; orig_buffer->refcount=2; /* don't let call_user_function() destroy our buffer */ + orig_buffer->is_ref=1; ALLOC_INIT_ZVAL(z_status); Z_TYPE_P(z_status) = IS_LONG;

« previous php.cvs (#4620) next »