aboutsummaryrefslogtreecommitdiff
path: root/src/client/linux
diff options
context:
space:
mode:
authorLeonard Mosescu <mosescu@chromium.org>2017-07-06 10:58:40 -0700
committerMark Mentovai <mark@chromium.org>2017-07-11 17:24:47 +0000
commit5f112cb1743aa832bcb14530bd98cbacf0f49df4 (patch)
tree3fd1bca50e45c4ccfc077e9a7c01224a8ad4b4ec /src/client/linux
parentFix asan builds (diff)
downloadbreakpad-5f112cb1743aa832bcb14530bd98cbacf0f49df4.tar.xz
A couple of minor fixes
1. Fixing ExceptionHandlerTest.FirstChanceHandlerRuns: exit() is not an async-signal-safe function (http://man7.org/linux/man-pages/man7/signal-safety.7.html) 2. Fixing entry point signature in minidump_dump Changed "const char* argv[]" to "char* argv[]" to match the standard entry point signature 3. Updating .gitignore to exclude unit test artifacts Change-Id: I9662898d0bd97769621fb6476a720105821c60f0 Reviewed-on: https://chromium-review.googlesource.com/562356 Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Ivan Penkov <ivanpe@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Diffstat (limited to 'src/client/linux')
-rw-r--r--src/client/linux/handler/exception_handler_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/linux/handler/exception_handler_unittest.cc b/src/client/linux/handler/exception_handler_unittest.cc
index eda60c95..193a76e7 100644
--- a/src/client/linux/handler/exception_handler_unittest.cc
+++ b/src/client/linux/handler/exception_handler_unittest.cc
@@ -468,7 +468,7 @@ TEST(ExceptionHandlerTest, StackedHandlersUnhandledToBottom) {
namespace {
const int kSimpleFirstChanceReturnStatus = 42;
bool SimpleFirstChanceHandler(int, void*, void*) {
- exit(kSimpleFirstChanceReturnStatus);
+ _exit(kSimpleFirstChanceReturnStatus);
}
}