Re: com php-src: Add missing zend_parse_parameters_none() for flush(): ext/standard/basic_functions.c

From: Date: Tue, 03 Mar 2015 14:58:26 +0000
Subject: Re: com php-src: Add missing zend_parse_parameters_none() for flush(): ext/standard/basic_functions.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85174@lists.php.net to get a copy of this message
Fixed, thank you. sorry for the breakage. On 3 March 2015 at 21:54, Dmitry Stogov <dmitry@zend.com> wrote: > tests/output/flush_error_001.phpt is broken in master. please fix. > > Thanks. Dmitry. > > On Tue, Mar 3, 2015 at 1:37 PM, Reeze Xia <reeze@php.net> wrote: > >> Commit: f97251adecfcf5ff7880136dfc594171457235f1 >> Author: Reeze Xia <reeze@php.net> Tue, 3 Mar 2015 18:37:47 >> +0800 >> Parents: bb2e62ecda3f3935a076063be66b394ac6831c09 >> Branches: master >> >> Link: >> >> http://git.php.net/?p=php-src.git;a=commitdiff;h=f97251adecfcf5ff7880136dfc594171457235f1 >> >> Log: >> Add missing zend_parse_parameters_none() for flush() >> >> Changed paths: >> M ext/standard/basic_functions.c >> >> >> Diff: >> diff --git a/ext/standard/basic_functions.c >> b/ext/standard/basic_functions.c >> index 26f7209..f1c671d 100644 >> --- a/ext/standard/basic_functions.c >> +++ b/ext/standard/basic_functions.c >> @@ -4384,6 +4384,10 @@ PHP_FUNCTION(getopt) >> Flush the output buffer */ >> PHP_FUNCTION(flush) >> { >> + if (zend_parse_parameters_none() == FAILURE) { >> + return; >> + } >> + >> sapi_flush(); >> } >> /* }}} */ >> >> >> -- >> PHP CVS Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > -- Reeze Xia http://reeze.cn

« previous php.cvs (#85174) next »