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 | c7a00ab0e8c7c17c30ba22af33dd51f56312375e (patch) | |
tree | 6fe2ee0e275ff055118f567d78f2831ecd355ff3 /sal/systools | |
parent | 472ed8ed097abdf379d1efed1d7403ce214d2ff9 (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 e2f079fa5446..ff0769739e5d 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 ); |