Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Commit

Permalink
Merge php-src into phpdbg
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed Nov 4, 2014
2 parents 5b8b6e3 + e9e1acb commit ae1e559
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions config.w32
@@ -1,6 +1,6 @@
ARG_ENABLE('phpdbg', 'Build phpdbg', 'no');
ARG_ENABLE('phpdbgs', 'Build phpdbg shared', 'no');
ARG_ENABLE('phpdbgwebhelper', 'Build phpdbg webhelper', 'yes');
ARG_ENABLE('phpdbg-webhelper', 'Build phpdbg webhelper', 'yes');

PHPDBG_SOURCES='phpdbg.c phpdbg_prompt.c phpdbg_cmd.c phpdbg_info.c phpdbg_help.c phpdbg_break.c ' +
'phpdbg_print.c phpdbg_bp.c phpdbg_opcode.c phpdbg_list.c phpdbg_utils.c ' +
Expand All @@ -16,8 +16,8 @@ if (PHP_PHPDBG == "yes") {
ADD_FLAG("CFLAGS_PHPDBG", "/D YY_NO_UNISTD_H");
ADD_FLAG("LDFLAGS_PHPDBG", "/stack:8388608");

if (PHP_PHPDBGWEBHELPER == "yes") {
EXTENSION('phpdbg-webhelper', 'phpdbg_rinit_hook.c phpdbg_webdata_compress.c');
if (PHP_PHPDBG_WEBHELPER == "yes") {
EXTENSION('phpdbg_webhelper', 'phpdbg_rinit_hook.c phpdbg_webdata_transfer.c');
}
}

Expand Down
2 changes: 1 addition & 1 deletion phpdbg.c
Expand Up @@ -549,7 +549,7 @@ static int php_sapi_phpdbg_deactivate(TSRMLS_D) /* {{{ */

php_phpdbg_globals_ctor(pg);

pg->exec = strndup(PHPDBG_G(exec), PHPDBG_G(exec_len));
pg->exec = zend_strndup(PHPDBG_G(exec), PHPDBG_G(exec_len));
pg->exec_len = PHPDBG_G(exec_len);
pg->oplog = PHPDBG_G(oplog);
pg->prompt[0] = PHPDBG_G(prompt)[0];
Expand Down
1 change: 0 additions & 1 deletion phpdbg_frame.c
Expand Up @@ -25,7 +25,6 @@
#include "phpdbg_list.h"

ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
ZEND_EXTERN_MODULE_GLOBALS(output);

void phpdbg_restore_frame(TSRMLS_D) /* {{{ */
{
Expand Down
1 change: 0 additions & 1 deletion phpdbg_prompt.c
Expand Up @@ -41,7 +41,6 @@
#include "phpdbg_eol.h"

ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
ZEND_EXTERN_MODULE_GLOBALS(output);
extern int phpdbg_startup_run;

#ifdef HAVE_LIBDL
Expand Down

0 comments on commit ae1e559

Please sign in to comment.