mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
set %errorlevel% for rem
svn path=/trunk/; revision=16461
This commit is contained in:
@@ -61,6 +61,7 @@ INT GetRedirection (LPTSTR s, LPTSTR ifn, LPTSTR ofn, LPTSTR efn, LPINT lpnFlags
|
||||
|
||||
TCHAR * line = s;
|
||||
|
||||
|
||||
while (_istspace (*line))
|
||||
line++;
|
||||
|
||||
@@ -71,8 +72,9 @@ INT GetRedirection (LPTSTR s, LPTSTR ifn, LPTSTR ofn, LPTSTR efn, LPINT lpnFlags
|
||||
*ifn=('\0');
|
||||
*ofn=('\0');
|
||||
*efn=_T('\0');
|
||||
nErrorLevel = 9009;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/* find and remove all the redirections first */
|
||||
while (*sp)
|
||||
|
||||
Reference in New Issue
Block a user