mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Fixed bug parsing redirections
svn path=/trunk/; revision=2297
This commit is contained in:
parent
34fca92d6d
commit
718510b28a
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ INT GetRedirection (LPTSTR s, LPTSTR ifn, LPTSTR ofn, LPTSTR efn, LPINT lpnFlags
|
|||
{
|
||||
/* input redirection */
|
||||
*lpnFlags |= INPUT_REDIRECTION;
|
||||
while (_istspace (*sp))
|
||||
sp++;
|
||||
do sp++;
|
||||
while( _istspace (*sp) );
|
||||
|
||||
/* copy file name */
|
||||
while (*sp && !IsRedirection (*sp) && !_istspace (*sp))
|
||||
|
|
Loading…
Reference in a new issue