projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34baac2
)
don't skip whitespace in echo command. patch by irc:ravelo. bug #1042.
author
Brandon Turner
<turnerb7@msu.edu>
Mon, 21 Nov 2005 18:10:55 +0000
(18:10 +0000)
committer
Brandon Turner
<turnerb7@msu.edu>
Mon, 21 Nov 2005 18:10:55 +0000
(18:10 +0000)
svn path=/trunk/; revision=19412
reactos/subsys/system/cmd/cmd.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/system/cmd/cmd.c
b/reactos/subsys/system/cmd/cmd.c
index
a052379
..
3c4edfb
100644
(file)
--- a/
reactos/subsys/system/cmd/cmd.c
+++ b/
reactos/subsys/system/cmd/cmd.c
@@
-597,9
+597,12
@@
DoCommand (LPTSTR line)
}
*/
- /* Skip over whitespace to rest of line */
- while (_istspace (*rest))
+ /* Skip over whitespace to rest of line, exclude 'echo' command */
+ if (_tcsicmp (com, _T("echo")))
+ {
+ while (_istspace (*rest))
rest++;
+ }
/* Scan internal command table */
for (cmdptr = cmds;; cmdptr++)