On Thu, 3 Oct 2002, Yasuo Ohgaki wrote: > yohgaki Thu Oct 3 04:54:14 2002 EDT > > Modified files: > /php4/main output.c > Log: > Added comment for php_output_set_status(). > Please use this function if you would like to prevent unwanted flush > by implicit_flush=On or ob_implicit_flush().
Please don't add more hacks, but fix it right. You broke behavior, please revert that. Derick > Index: php4/main/output.c > diff -u php4/main/output.c:1.133 php4/main/output.c:1.134 > --- php4/main/output.c:1.133 Thu Oct 3 03:17:13 2002 > +++ php4/main/output.c Thu Oct 3 04:54:13 2002 > @@ -18,7 +18,7 @@ > +----------------------------------------------------------------------+ > */ > > -/* $Id: output.c,v 1.133 2002/10/03 07:17:13 yohgaki Exp $ */ > +/* $Id: output.c,v 1.134 2002/10/03 08:54:13 yohgaki Exp $ */ > > #include "php.h" > #include "ext/standard/head.h" > @@ -94,7 +94,10 @@ > > > /* {{{ php_output_set_status > - Toggle output status */ > + Toggle output status. Use this function for internal functions uses > + buffers. If you don't implict flush (both php.ini implicit_flush and >ob_impilict_flush()) > + may flush your php_printf() output. > + status: 0 for disable output, 1 for enable.*/ > PHPAPI void php_output_set_status(zend_bool status TSRMLS_DC) > { > OG(disable_output) = !status; > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- --------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --------------[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php