From 65984df220c494e431fa148f437115ca02cb7d39 Mon Sep 17 00:00:00 2001 From: krakjoe Date: Sun, 13 Apr 2014 08:09:53 +0100 Subject: merge master --- phpdbg_prompt.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'phpdbg_prompt.c') diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 3010c088a5..373260c1d1 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -356,7 +356,6 @@ PHPDBG_COMMAND(exec) /* {{{ */ if ((res_len != PHPDBG_G(exec_len)) || (memcmp(res, PHPDBG_G(exec), res_len) != SUCCESS)) { -<<<<<<< HEAD if (PHPDBG_G(exec)) { phpdbg_notice("Unsetting old execution context: %s", PHPDBG_G(exec)); efree(PHPDBG_G(exec)); @@ -367,21 +366,13 @@ PHPDBG_COMMAND(exec) /* {{{ */ if (PHPDBG_G(ops)) { phpdbg_notice("Destroying compiled opcodes"); phpdbg_clean(0 TSRMLS_CC); -======= - *SG(request_info).argv = PHPDBG_G(exec); - php_hash_environment(TSRMLS_C); - - phpdbg_notice("Set execution context: %s", PHPDBG_G(exec)); - } else { - phpdbg_notice("Execution context not changed"); - } - } else { - phpdbg_error("Cannot use %s as execution context, not a valid file or symlink", param->str); ->>>>>>> 3db29ee43960a4e164244a55b0e2a4b23a112e49 } PHPDBG_G(exec) = res; PHPDBG_G(exec_len) = res_len; + + *SG(request_info).argv = PHPDBG_G(exec); + php_hash_environment(TSRMLS_C); phpdbg_notice("Set execution context: %s", PHPDBG_G(exec)); } else { -- cgit v1.2.1