summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_io.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-07 22:45:34 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-07-07 22:45:34 +0200
commit7a8ea0f60d4d4302be7231f4b73c08a209e696d0 (patch)
tree6aa12ab1cf789eeba8add3cf17cc5feef73a71e9 /sapi/phpdbg/phpdbg_io.c
parentb3a4c05071c3786e27e1326fa1b4d5acad62fccd (diff)
downloadphp-git-7a8ea0f60d4d4302be7231f4b73c08a209e696d0.tar.gz
Properly exit on EOF on stdin in readline mode
Diffstat (limited to 'sapi/phpdbg/phpdbg_io.c')
-rw-r--r--sapi/phpdbg/phpdbg_io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_io.c b/sapi/phpdbg/phpdbg_io.c
index 70709eadc1..246431ff2d 100644
--- a/sapi/phpdbg/phpdbg_io.c
+++ b/sapi/phpdbg/phpdbg_io.c
@@ -90,7 +90,6 @@ PHPDBG_API int phpdbg_consume_stdin_line(char *buf) {
if (bytes <= 0) {
PHPDBG_G(flags) |= PHPDBG_IS_QUITTING | PHPDBG_IS_DISCONNECTED;
zend_bailout();
- return 0;
}
return bytes;