summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-10-16 13:48:13 +0200
committerBob Weinand <bobwei9@hotmail.com>2016-10-16 13:48:13 +0200
commit47bd3d982eedf33ef73a8fb8e42b283da9fcee02 (patch)
tree1012f3bb9b1eb819d3abd1cd2f4ac0e621c9b14f /sapi/phpdbg/phpdbg.c
parent601ab6e9d0cdd52a7b86819ae2e604936e83f648 (diff)
parente93eaee1648a55d3d58788e2b898e8fb00f0c13c (diff)
downloadphp-git-47bd3d982eedf33ef73a8fb8e42b283da9fcee02.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 0722ed94d4..36af9b3719 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1175,6 +1175,10 @@ static inline void phpdbg_sigint_handler(int signo) /* {{{ */
}
} else {
PHPDBG_G(flags) |= PHPDBG_IS_SIGNALED;
+ if (PHPDBG_G(flags) & PHPDBG_PREVENT_INTERACTIVE) {
+ PHPDBG_G(flags) |= PHPDBG_HAS_PAGINATION;
+ PHPDBG_G(flags) &= ~PHPDBG_PREVENT_INTERACTIVE;
+ }
}
}
} /* }}} */