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

From: Date: Tue, 03 Mar 2015 18:25:16 +0000
Subject: Re: com php-src: Add missing zend_parse_parameters_none() for flush(): ext/standard/basic_functions.c
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85183@lists.php.net to get a copy of this message
Hi Dmitry I sent several PRs, could you please help me to review some of them when you have time? Leak fix for bug #69174 https://github.com/php/php-src/pull/1138 mentioned on #php.pecl channel. Simple optimization: https://github.com/php/php-src/pull/1137 Return types improvement: https://github.com/php/php-src/pull/1066 Fix valgrind warning about leaks: https://github.com/php/php-src/pull/1128 Simple improvement: https://github.com/php/php-src/pull/1074 some OS prefer isfinite and raise warning like OS X On 3 March 2015 at 22:58, reeze <reeze@php.net> wrote: > 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=f97251adecfcf5ff7880136dfc594171457235f1WÌ >>> ÓùJË YÞ%‰�¿ >>> >>> 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 > -- Reeze Xia http://reeze.cn

« previous php.cvs (#85183) next »