libreoffice/0001-don-t-suppress-crashes.patch

38 lines
985 B
Diff
Raw Normal View History

2021-02-03 12:03:46 +00:00
From a6f2cba43d79347b6975b3b8069b423c94a7dba6 Mon Sep 17 00:00:00 2001
2016-11-08 10:55:16 +00:00
From: David Tardon <dtardon@redhat.com>
Date: Tue, 8 Nov 2016 11:50:06 +0100
Subject: [PATCH] don't suppress crashes
An automatic restart after a crash makes the crash invisible to abrt.
Change-Id: I3854e619356049b144b08575879d289a3c12e4c9
---
desktop/source/app/app.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
2021-02-03 12:03:46 +00:00
index c54aea9dd4f7..a613fe12cef2 100644
2016-11-08 10:55:16 +00:00
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
2022-08-09 08:36:02 +00:00
@@ -1165,8 +1165,6 @@
2021-02-03 12:03:46 +00:00
if( bRestart )
{
RequestHandler::Disable();
- if( pSignalHandler )
- osl_removeSignalHandler( pSignalHandler );
2016-11-08 10:55:16 +00:00
2021-02-03 12:03:46 +00:00
restartOnMac(false);
2022-08-09 08:36:02 +00:00
#if !ENABLE_WASM_STRIP_SPLASH
@@ -1174,7 +1172,7 @@
2021-02-03 12:03:46 +00:00
m_rSplashScreen->reset();
2022-08-09 08:36:02 +00:00
#endif
2016-11-08 10:55:16 +00:00
2021-02-03 12:03:46 +00:00
- _exit( EXITHELPER_CRASH_WITH_RESTART );
+ return;
}
else
{
2016-11-08 10:55:16 +00:00
--
2021-02-03 12:03:46 +00:00
2.29.2
2016-11-08 10:55:16 +00:00