com php-src: - Check for PHPDBG_DEBUG: phpdbg_cmd.c
| From: | Bob Weinand | Date: | Tue, 19 Nov 2013 21:53:27 +0000 |
| Subject: | com php-src: - Check for PHPDBG_DEBUG: phpdbg_cmd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74789@lists.php.net to get a copy of this message | ||
Commit: dace704d152240a4681a6cfc87d3a303f0defa1a
Author: Felipe Pena <felipensp@gmail.com> Tue, 19 Nov 2013 19:53:27 -0200
Parents: 4672313057f2eeddef3e289185d32e498ded6ba4
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dace704d152240a4681a6cfc87d3a303f0defa1a
Log:
- Check for PHPDBG_DEBUG
Changed paths:
M phpdbg_cmd.c
Diff:
diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c
index 5b3de53..fca4af3 100644
--- a/phpdbg_cmd.c
+++ b/phpdbg_cmd.c
@@ -326,10 +326,10 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input
TSRM
return phpdbg_do_cmd_ex(command->subs, &sub TSRMLS_CC);
}
-
phpdbg_debug(
"found command %s for %s with %d arguments",
command->name, input->argv[0]->string, input->argc-1);
+#ifdef PHPDBG_DEBUG
{
int arg;
for (arg=1; arg<input->argc; arg++) {
@@ -340,6 +340,7 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM
input->argv[arg]->length);
}
}
+#endif
break;
}
command++;