From c7a00ab0e8c7c17c30ba22af33dd51f56312375e Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 13 Jun 2008 11:36:26 +0000 Subject: INTEGRATION: CWS qadev32 (1.7.2); FILE MERGED 2008/04/18 14:11:32 hro 1.7.2.1: #i86802# Support kill -9 --- sal/systools/win32/kill/kill.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sal/systools/win32') 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 ); -- cgit