Re: [RESENT] Batch support for CreateProcess (2 of 3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Alexandre" == Alexandre Julliard <julliard@winehq.com> writes:

    Alexandre> Uwe Bonnes <bon@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@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 {


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux