always strip '^' (unless it was preceded by an '^' itself), not just if
it precedes the redirection symbols - fixes some of my test cases in
seta_test.cmd
Modified: trunk/reactos/subsys/system/cmd/set.c
_____
Modified: trunk/reactos/subsys/system/cmd/set.c
--- trunk/reactos/subsys/system/cmd/set.c 2005-09-21 01:25:58 UTC
(rev 17957)
+++ trunk/reactos/subsys/system/cmd/set.c 2005-09-21 01:27:22 UTC
(rev 17958)
@@ -69,7 +69,7 @@
/* remove escapes */
if ( param[0] ) for ( i = 0; param[i+1]; i++ )
{
- if ( param[i] == '^' && strchr("<|>&^",param[i+1])
)
+ if ( param[i] == '^' )
{
memmove ( ¶m[i], ¶m[i+1],
_tcslen(¶m[i]) * sizeof(TCHAR) );
}