mirror of
https://github.com/reactos/reactos.git
synced 2025-08-09 08:13:03 +00:00
[CMD]
Handle the + character only optionally as a token seperator, so that other commands like rename are not affected. svn path=/trunk/; revision=56349
This commit is contained in:
parent
a77220cc37
commit
ece4aa3f3f
16 changed files with 87 additions and 87 deletions
|
@ -275,7 +275,7 @@ static BOOL expand (LPINT ac, LPTSTR **arg, LPCTSTR pattern)
|
|||
* are spaces and slashes ('/').
|
||||
*/
|
||||
|
||||
LPTSTR *split (LPTSTR s, LPINT args, BOOL expand_wildcards)
|
||||
LPTSTR *split (LPTSTR s, LPINT args, BOOL expand_wildcards, BOOL handle_plus)
|
||||
{
|
||||
LPTSTR *arg;
|
||||
LPTSTR start;
|
||||
|
@ -315,7 +315,7 @@ LPTSTR *split (LPTSTR s, LPINT args, BOOL expand_wildcards)
|
|||
/* check for separators */
|
||||
if (_istspace(*s) ||
|
||||
(*s == _T('/')) ||
|
||||
(*s == _T('+')))
|
||||
(handle_plus && (*s == _T('+'))))
|
||||
{
|
||||
/* Make length at least one character */
|
||||
if (s == start) s++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue