[Libreoffice-commits] .: vcl/unx

Caolán McNamara caolan at kemper.freedesktop.org
Wed Nov 3 03:16:47 PDT 2010


 vcl/unx/source/plugadapt/salplug.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 72244e6e6035ffc211ea7a4fce9aa96de8bc1f76
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 3 10:16:06 2010 +0000

    abort doesn't gain us anything here.
    
    abort doesn't gain us anything here except to force abrt automatic bugreports kick
    in, and XIOErrors can't be worked around

diff --git a/vcl/unx/source/plugadapt/salplug.cxx b/vcl/unx/source/plugadapt/salplug.cxx
index 54f9752..ba6bf4a 100644
--- a/vcl/unx/source/plugadapt/salplug.cxx
+++ b/vcl/unx/source/plugadapt/salplug.cxx
@@ -284,7 +284,7 @@ void SalAbort( const XubString& rErrorText )
         std::fprintf( stderr, "Application Error" );
     else
         std::fprintf( stderr, "%s", ByteString( rErrorText, gsl_getSystemTextEncoding() ).GetBuffer() );
-    abort();
+    exit(-1);
 }
 
 const OUString& SalGetDesktopEnvironment()


More information about the Libreoffice-commits mailing list