summaryrefslogtreecommitdiff
path: root/0001-don-t-suppress-crashes.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 02:57:35 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 02:57:35 +0000
commit9ff4174f91184dbd5ad42ebe21d0e150d888c290 (patch)
tree165b5cd8d551e6bab38d7b1c0137d80c207a10d3 /0001-don-t-suppress-crashes.patch
parent28930047a5d7ce8bffe52612a6e507c6f806f080 (diff)
automatic import of libreofficeopeneuler24.03_LTS
Diffstat (limited to '0001-don-t-suppress-crashes.patch')
-rw-r--r--0001-don-t-suppress-crashes.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/0001-don-t-suppress-crashes.patch b/0001-don-t-suppress-crashes.patch
new file mode 100644
index 0000000..4a35f3d
--- /dev/null
+++ b/0001-don-t-suppress-crashes.patch
@@ -0,0 +1,35 @@
+From a6f2cba43d79347b6975b3b8069b423c94a7dba6 Mon Sep 17 00:00:00 2001
+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
+index c54aea9dd4f7..a613fe12cef2 100644
+--- a/desktop/source/app/app.cxx
++++ b/desktop/source/app/app.cxx
+@@ -1147,14 +1147,12 @@ void Desktop::Exception(ExceptionCategory nCategory)
+ if( bRestart )
+ {
+ RequestHandler::Disable();
+- if( pSignalHandler )
+- osl_removeSignalHandler( pSignalHandler );
+
+ restartOnMac(false);
+ if ( m_rSplashScreen.is() )
+ m_rSplashScreen->reset();
+
+- _exit( EXITHELPER_CRASH_WITH_RESTART );
++ return;
+ }
+ else
+ {
+--
+2.29.2
+