diff options
author | John Cortell | 2009-07-08 12:40:03 +0000 |
---|---|---|
committer | John Cortell | 2009-07-08 12:40:03 +0000 |
commit | f5e04ac9f41c7d200c205f5a2029c65e570f1326 (patch) | |
tree | a229f14c65a66408a364b436d000d3a366f2e4a9 /core/org.eclipse.cdt.core.win32 | |
parent | 37d3d2757e99c274599349b5767590ea1a863f13 (diff) | |
download | org.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/org.eclipse.cdt.core.win32')
-rw-r--r-- | core/org.eclipse.cdt.core.win32/library/starter/starter.cpp | 2 |
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); |