From b317f0eb59eb1265cbc7ed3eb00f757e2ff65e4d Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 16 Jul 2019 17:17:19 +0200 Subject: Remove ZEND_HANDLE_MAPPED The buf/len members are now simply used in addition to the main stream, without changing the handle kind. --- sapi/phpdbg/phpdbg_prompt.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sapi/phpdbg/phpdbg_prompt.c') 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); -- cgit v1.2.1