com php-src: woops+correction in help: phpdbg_help.c phpd bg_prompt.c
| From: | Bob Weinand | Date: | Mon, 24 Feb 2014 17:11:09 +0000 |
| Subject: | com php-src: woops+correction in help: phpdbg_help.c phpd bg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77028@lists.php.net to get a copy of this message | ||
Commit: 043bfd6e2cc8290eeed5aa7a7e2ff0ab4940d42a
Author: krakjoe <joe.watkins@live.co.uk> Mon, 24 Feb 2014 17:11:09 +0000
Parents: 85b5907e85441a4fdccdd8978d29084f72c20f4f
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=043bfd6e2cc8290eeed5aa7a7e2ff0ab4940d42a
Log:
woops+correction in help
Changed paths:
M phpdbg_help.c
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_help.c b/phpdbg_help.c
index 1796db7..47289fb 100644
--- a/phpdbg_help.c
+++ b/phpdbg_help.c
@@ -398,7 +398,7 @@ phpdbg_help_text_t phpdbg_help_text[] = {
"overridden on the command line using the **-i** switch (see **help options** for a more
"
"details)." CR CR
-"Debugger scripts can also be executed using the **script** command." CR CR
+"Debugger scripts can also be executed using the **source** command." CR CR
"A script file can contain a sequence of valid debugger commands, comments and embedded PHP
"
"code. " CR CR
@@ -430,7 +430,7 @@ phpdbg_help_text_t phpdbg_help_text[] = {
" * **method#op** a valid **Class::methodName** follow by # and an integer" CR
" * **string** a general string" CR
" * **function** a valid **Function name**" CR
-" * **File-line** a valid **filename** follow by : and an integer" CR CR
+" * **file:line** a valid **filename** follow by : and an integer" CR CR
"In some cases the type of the argument enables the second keyword to be omitted." CR CR
@@ -491,7 +491,6 @@ phpdbg_help_text_t phpdbg_help_text[] = {
"types:" CR CR
" **Target** **Alias** **Purpose**" CR
-" **address** **a** specify breakpoint by address" CR
" **at** **A** specify breakpoint by location and condition" CR
" **del** **d** delete breakpoint by breakpoint identifier number" CR CR
diff --git a/phpdbg_prompt..c b/phpdbg_prompt.c
index 09e7ae1..b55e5d7 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -87,7 +87,7 @@ static inline int phpdbg_call_register(phpdbg_param_t *stack TSRMLS_DC) /* {{{ *
zval fname, *fretval;
zend_fcall_info fci;
- ZVAL_STRINGL(&fname, name->str, name->len+1, 1);
+ ZVAL_STRINGL(&fname, name->str, name->len, 1);
memset(&fci, 0, sizeof(zend_fcall_info));