mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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 */
|
/* input redirection */
|
||||||
*lpnFlags |= INPUT_REDIRECTION;
|
*lpnFlags |= INPUT_REDIRECTION;
|
||||||
while (_istspace (*sp))
|
do sp++;
|
||||||
sp++;
|
while( _istspace (*sp) );
|
||||||
|
|
||||||
/* copy file name */
|
/* copy file name */
|
||||||
while (*sp && !IsRedirection (*sp) && !_istspace (*sp))
|
while (*sp && !IsRedirection (*sp) && !_istspace (*sp))
|
||||||
|
|
Loading…
Reference in a new issue