mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 05:09:11 +08:00
Fixed bug parsing redirections
svn path=/trunk/; revision=2297
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user