diff options
author | Joe Watkins <krakjoe@php.net> | 2017-01-02 09:41:44 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-01-02 09:41:44 +0000 |
commit | 532486569add9b53105279f95a85579dff143852 (patch) | |
tree | 78be7670c35b6526fdc11bde4291c792966bdbaa /sapi/cli/php_cli.c | |
parent | b4459af0256d991d21aef8ed167be47512d20e5d (diff) | |
parent | a5027d43dde2f54cadce475aaba2ad09b2273fca (diff) | |
download | php-git-532486569add9b53105279f95a85579dff143852.tar.gz |
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:/php-src:
Flush stderr on win32 in cli_log_message
Fixed bug #73154
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index dc92045ae7..6a07878775 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -380,6 +380,9 @@ static void sapi_cli_register_variables(zval *track_vars_array) /* {{{ */ static void sapi_cli_log_message(char *message, int syslog_type_int) /* {{{ */ { fprintf(stderr, "%s\n", message); +#ifdef PHP_WIN32 + fflush(stderr); +#endif } /* }}} */ |