com php-src: Fixed bug: ev output was buffered instead of directly displayed: phpdbg.c
| From: | Bob Weinand | Date: | Wed, 16 Apr 2014 09:40:29 +0000 |
| Subject: | com php-src: Fixed bug: ev output was buffered instead of directly displayed: phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76989@lists.php.net to get a copy of this message | ||
Commit: 7ab1c07a513f520fff0e4dbb39b924d9000ba5d4
Author: Bob Weinand <bobwei9@hotmail.com> Wed, 16 Apr 2014 11:40:29 +0200
Parents: a981e3a1d2f3de60f239db4cbca4ace0e53a9193
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7ab1c07a513f520fff0e4dbb39b924d9000ba5d4
Log:
Fixed bug: ev output was buffered instead of directly displayed
Changed paths:
M phpdbg.c
Diff:
diff --git a/phpdbg.c b/phpdbg.c
index 7a90b8d..2648d60 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -1195,6 +1195,10 @@ phpdbg_main:
php_hash_environment(TSRMLS_C);
}
+
+ /* make sure to turn off buffer for ev command */
+ php_output_activate(TSRMLS_C);
+ php_output_deactivate(TSRMLS_C);
/* do not install sigint handlers for remote consoles */
/* sending SIGINT then provides a decent way of shutting down the server */