mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
Remove the "LPTSTR cmd" argument to internal commands; there's no need for a command to be told its own name. It was only used in two places:
- a hack in cmd_mkdir that was already obsolete a decade ago - to distinguish "echo" from "echo.", but that is the wrong way to implement this anyway. There's nothing particularly special about the period, "echo" is just one of those commands that is lenient about where its parameters begin, and when it echos a line, the first character (usually a space, but in the case of "echo." a period) is skipped. svn path=/trunk/; revision=35647
This commit is contained in:
parent
c9b3cf161b
commit
c49ed3a82c
46 changed files with 133 additions and 185 deletions
|
@ -129,7 +129,7 @@ static BOOL ParseTime (LPTSTR s)
|
|||
}
|
||||
|
||||
|
||||
INT cmd_time (LPTSTR cmd, LPTSTR param)
|
||||
INT cmd_time (LPTSTR param)
|
||||
{
|
||||
LPTSTR *arg;
|
||||
INT argc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue