diff options
| author | Nikita Popov <nikic@php.net> | 2016-12-27 22:44:46 +0100 | 
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2017-01-01 21:09:02 +0100 | 
| commit | 935b5cb11ed672c42b2a77e10be752702e474e7f (patch) | |
| tree | 22c288992f7d23d9ba17997abffe7421e88a79c9 /sapi/cli/php_cli.c | |
| parent | 4877641962a7ad77fd3d1dac0b59de37a52659a1 (diff) | |
| download | php-git-935b5cb11ed672c42b2a77e10be752702e474e7f.tar.gz | |
Flush stderr on win32 in cli_log_message
This allows us to unfork a bunch of tests for Windows.
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 978c8b332e..22f4e0cebe 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -379,6 +379,9 @@ static void sapi_cli_register_variables(zval *track_vars_array) /* {{{ */  static void sapi_cli_log_message(char *message) /* {{{ */  {  	fprintf(stderr, "%s\n", message); +#ifdef PHP_WIN32 +	fflush(stderr); +#endif  }  /* }}} */  | 
