summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-16 17:17:19 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-16 17:44:32 +0200
commitb317f0eb59eb1265cbc7ed3eb00f757e2ff65e4d (patch)
treee97d72be1c9a148d1b32a0c94450bc9f119133ad /sapi/phpdbg/phpdbg_prompt.c
parente0eca262852dba1a78afcde64a49126c81fead1a (diff)
downloadphp-git-b317f0eb59eb1265cbc7ed3eb00f757e2ff65e4d.tar.gz
Remove ZEND_HANDLE_MAPPED
The buf/len members are now simply used in addition to the main stream, without changing the handle kind.
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index fc7a9b4290..24155a7860 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -577,9 +577,6 @@ int phpdbg_compile(void) /* {{{ */
if (php_stream_open_for_zend_ex(PHPDBG_G(exec), &fh, USE_PATH|STREAM_OPEN_FOR_INCLUDE) == SUCCESS && zend_stream_fixup(&fh, &buf, &len) == SUCCESS) {
CG(skip_shebang) = 1;
PHPDBG_G(ops) = zend_compile_file(&fh, ZEND_INCLUDE);
-
- fh.handle.stream.mmap.buf = buf;
- fh.handle.stream.mmap.len = len;
zend_destroy_file_handle(&fh);
if (EG(exception)) {
zend_exception_error(EG(exception), E_ERROR);