set %errorlevel% for rem

svn path=/trunk/; revision=16461
This commit is contained in:
Magnus Olsen
2005-07-06 19:13:24 +00:00
parent 2936d05aa3
commit 78df6635f5
+3 -1
View File
@@ -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)