[RESENT] Batch support for CreateProcess (2 of 3)
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Fri Dec 6 16:06:05 CST 2002
>>>>> "Alexandre" == Alexandre Julliard <julliard at winehq.com> writes:
Alexandre> Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:
>> --- wine/programs/wcmd/builtins.c 24 Jul 2002 19:00:25 -0000 1.15 +++
>> wine/programs/wcmd/builtins.c 6 Dec 2002 14:04:02 -0000 @@ -406,7
>> +406,7 @@ return; } if (test != negate) { - WCMD_parameter (p,
>> 2+negate, &s); + WCMD_parameter (p, 2+negate+test, &s);
Alexandre> This doesn't look right. The number of parameters doesn't
Alexandre> depend on the result of the test.
Does this look better?
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/programs/wcmd/builtins.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/builtins.c,v
retrieving revision 1.15
diff -u -r1.15 builtins.c
--- wine/programs/wcmd/builtins.c 24 Jul 2002 19:00:25 -0000 1.15
+++ wine/programs/wcmd/builtins.c 6 Dec 2002 21:42:44 -0000
@@ -398,7 +398,7 @@
}
}
else if ((s = strstr (p, "=="))) {
- s += 2;
+ s += 3;
if (!lstrcmpi (condition, WCMD_parameter (s, 0, NULL))) test = 1;
}
else {
More information about the wine-patches
mailing list