From 514d90bbc9f28bc0bf9e07bbf99d22832eeb5ff9 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Wed, 6 Jun 2007 15:58:34 +0000 Subject: [PATCH] Bug 150029 - Patch for Alex - Add quotes around the starter command line to deal with spaces in the path to the starter executable. --- .../library/Win32ProcessEx.c | 2 +- .../os/win32/x86/spawner.dll | Bin 40674 -> 40674 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c index a88df2aa7f9..6809416cb0c 100644 --- a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c +++ b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c @@ -225,7 +225,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_exec0 pCurProcInfo -> eventTerminate = CreateEventW(NULL, TRUE, FALSE, eventTerminateName); ResetEvent(pCurProcInfo -> eventTerminate); - swprintf(szCmdLine, L"%sstarter.exe %i %i %s %s %s ", path, pid, nLocalCounter, eventBreakName, eventWaitName, eventTerminateName); + swprintf(szCmdLine, L"\"%sstarter.exe\" %i %i %s %s %s ", path, pid, nLocalCounter, eventBreakName, eventWaitName, eventTerminateName); nPos = wcslen(szCmdLine); // Prepare command line diff --git a/core/org.eclipse.cdt.core.win32/os/win32/x86/spawner.dll b/core/org.eclipse.cdt.core.win32/os/win32/x86/spawner.dll index d0187858fc1eed9d841ab99701717048f255d51f..a1cbaec8cd55a466aa07d2d3556fa410905f4264 100644 GIT binary patch delta 185 zcmaE~m+8@7rU@O)_iv<4?Dl0mv+-saH{*iI20S5*+a|a2lrS#X{EKHUBjdKsGx#nu zGoIL-Bb3DiRB&Acq(DcsgmXb)P2O=A6_%TuSBg$$KLD3$L#F@$ delta 207 zcmaE~m+8@7rU@O)DXCr)yL}mdZM+%A%{XVW0Z$0yrpc{5C5&@6|Kgd;$hc|q48F_E zj7K)-2xTz=6vy>c4mbahHnf%7=AJQVfe?8 z!HC6(!-&U7z(~YM!brwQ!AQkuv!KU&#>ozhyqmm!v9f9~F)#>B7K{|#ED~_e4*(E4 BNU8t;