Fix for spawning windows processes

Ralf Habacker ralf.habacker at freenet.de
Wed Apr 28 01:44:08 PDT 2010


Fridrich Strba schrieb:
> Hello,
>
> This patch is fixing a bug in dbus/dbus-spawn-win.c
> Maybe the two (build_commandline and build_env_string) could share some
> code.
>
>   
is the following fix  intended ?

@@ -492,20 +492,46 @@ build_commandline (char **argv)
       p += strlen (argv[i]);
       *(p++) = ' ';
     }
-  if (i)
+//  if (i)
     p--;
   *p = '\0';
 
   return buf;
 }

regards 
Ralf 



More information about the dbus mailing list