diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-13 11:36:26 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-13 11:36:26 +0000 |
commit | f9e546686f175dd21ddcd029bbc11619b51eb7c6 (patch) | |
tree | 52609d9ff8d311d5c76183f46f4915e5eed2ea62 /sal/systools | |
parent | e89c790c8cb330447f831e2e7b1f8704f825dcd3 (diff) |
INTEGRATION: CWS qadev32 (1.7.2); FILE MERGED
2008/04/18 14:11:32 hro 1.7.2.1: #i86802# Support kill -9
Diffstat (limited to 'sal/systools')
-rw-r--r-- | sal/systools/win32/kill/kill.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sal/systools/win32/kill/kill.cxx b/sal/systools/win32/kill/kill.cxx index 68bdb46a1..32dce8301 100644 --- a/sal/systools/win32/kill/kill.cxx +++ b/sal/systools/win32/kill/kill.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: kill.cxx,v $ - * $Revision: 1.7 $ + * $Revision: 1.8 $ * * This file is part of OpenOffice.org. * @@ -380,7 +380,10 @@ int _tmain() if ( IsValidHandle( hProcess ) ) { - RaiseSignalEx( hProcess, sig ); + if ( SIGKILL == sig ) + TerminateProcess( hProcess, 255 ); + else + RaiseSignalEx( hProcess, sig ); _tprintf( _T("Done\n") ); CloseHandle( hProcess ); |