diff options
-rw-r--r-- | cmdedit.c | 2 | ||||
-rw-r--r-- | shell/cmdedit.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -319,6 +319,8 @@ extern int cmdedit_read_input(int inputFd, int outputFd, | |||
319 | strcpy( matchBuf, parsenextc); | 319 | strcpy( matchBuf, parsenextc); |
320 | matchBuf[cursor+1] = '\0'; | 320 | matchBuf[cursor+1] = '\0'; |
321 | 321 | ||
322 | fprintf(stderr, "matchBuf='%s'\n", matchBuf); | ||
323 | |||
322 | /* skip leading white space */ | 324 | /* skip leading white space */ |
323 | tmp = matchBuf; | 325 | tmp = matchBuf; |
324 | while (*tmp && isspace(*tmp)) { | 326 | while (*tmp && isspace(*tmp)) { |
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 314e8cd66..9e162c6ee 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -319,6 +319,8 @@ extern int cmdedit_read_input(int inputFd, int outputFd, | |||
319 | strcpy( matchBuf, parsenextc); | 319 | strcpy( matchBuf, parsenextc); |
320 | matchBuf[cursor+1] = '\0'; | 320 | matchBuf[cursor+1] = '\0'; |
321 | 321 | ||
322 | fprintf(stderr, "matchBuf='%s'\n", matchBuf); | ||
323 | |||
322 | /* skip leading white space */ | 324 | /* skip leading white space */ |
323 | tmp = matchBuf; | 325 | tmp = matchBuf; |
324 | while (*tmp && isspace(*tmp)) { | 326 | while (*tmp && isspace(*tmp)) { |