summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-10-20 21:56:00 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-10-20 21:56:00 +0200
commit2ef327caed5e7cb2683c040904a57d0cc6be1e5d (patch)
treec9547fa4f86c57794f3233814cd54cf1e0d87c5b /sapi/phpdbg/phpdbg.c
parent1149833a58a478b35bd95f4c4b9f23fe52c719d6 (diff)
downloadphp-git-2ef327caed5e7cb2683c040904a57d0cc6be1e5d.tar.gz
Exempt paging from -qrr mode
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index a82292ac5a..1fda4b7cb7 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1845,7 +1845,7 @@ phpdbg_interact:
quit_immediately = phpdbg_startup_run > 1;
phpdbg_startup_run = 0;
if (quit_immediately) {
- PHPDBG_G(flags) |= PHPDBG_IS_INTERACTIVE | PHPDBG_PREVENT_INTERACTIVE;
+ PHPDBG_G(flags) = (PHPDBG_G(flags) & ~PHPDBG_HAS_PAGINATION) | PHPDBG_IS_INTERACTIVE | PHPDBG_PREVENT_INTERACTIVE;
} else {
PHPDBG_G(flags) |= PHPDBG_IS_INTERACTIVE;
}