mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
don't skip whitespace in echo command. patch by irc:ravelo. bug #1042.
svn path=/trunk/; revision=19412
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user