summarylogtreecommitdiffstats
path: root/strsignal.patch
diff options
context:
space:
mode:
authorRafał Kozdrój2020-09-06 14:18:24 +0200
committerRafał Kozdrój2020-09-06 14:18:24 +0200
commit38a11628dd9de04accf293aa9ca8c5552ee88509 (patch)
tree501fb8f6c969305fffed144bb9c1198a5ff6c9fe /strsignal.patch
parent2120061026eeca6e8f362371a253eaacbb7484e2 (diff)
downloadaur-38a11628dd9de04accf293aa9ca8c5552ee88509.tar.gz
upgpkg: megasync 4.3.3.0-2
Diffstat (limited to 'strsignal.patch')
-rw-r--r--strsignal.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/strsignal.patch b/strsignal.patch
new file mode 100644
index 000000000000..bf12d00df77f
--- /dev/null
+++ b/strsignal.patch
@@ -0,0 +1,13 @@
+diff --git a/src/MEGASync/control/CrashHandler.cpp b/src/MEGASync/control/CrashHandler.cpp
+index 2040102f..bd8b2592 100644
+--- a/src/MEGASync/control/CrashHandler.cpp
++++ b/src/MEGASync/control/CrashHandler.cpp
+@@ -209,7 +209,7 @@ string getDistroVersion()
+ oss << "Error info:\n";
+ if (info)
+ {
+- oss << sys_siglist[sig] << " (" << sig << ") at address " << std::showbase << std::hex << info->si_addr << std::dec << "\n";
++ oss << strsignal(sig) << " (" << sig << ") at address " << std::showbase << std::hex << info->si_addr << std::dec << "\n";
+ }
+ else
+ {