Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Cortell2009-07-08 12:40:03 +0000
committerJohn Cortell2009-07-08 12:40:03 +0000
commitf5e04ac9f41c7d200c205f5a2029c65e570f1326 (patch)
treea229f14c65a66408a364b436d000d3a366f2e4a9 /core
parent37d3d2757e99c274599349b5767590ea1a863f13 (diff)
downloadorg.eclipse.cdt-f5e04ac9f41c7d200c205f5a2029c65e570f1326.tar.gz
org.eclipse.cdt-f5e04ac9f41c7d200c205f5a2029c65e570f1326.tar.xz
org.eclipse.cdt-f5e04ac9f41c7d200c205f5a2029c65e570f1326.zip
Addressed Anton's suggestion to specify the signal sans "SIG" when invoking the kill command, which is technically how it should be specified, though cygwin supports it either way.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core.win32/library/starter/starter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp b/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp
index 67473ec1c57..c8da78490f1 100644
--- a/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp
+++ b/core/org.eclipse.cdt.core.win32/library/starter/starter.cpp
@@ -357,7 +357,7 @@ int main() {
if (isCygwin(h[1])) {
// Need to issue a kill command
wchar_t kill[1024];
- swprintf(kill, L"kill -SIG%s %d", signal, pi.dwProcessId);
+ swprintf(kill, L"kill -%s %d", signal, pi.dwProcessId);
if (!runCygwinCommand(kill)) {
// fall back to console event
GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0);

Back to the top