breakpad/src/client
David Faure 605c51ed96 Fix for non-constant SIGSTKSZ
On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case
it expands to a call to `sysconf` which returns a `long int`); see
https://sourceware.org/pipermail/libc-alpha/2020-October/118513.html

Pass unsigned explicitly to std::max, to avoid relying on template
argument deduction. This works both with the old-style constant
`SIGSTKSZ` and the new configurable one.

Initially based on https://chromium-review.googlesource.com/c/2776379

Change-Id: I9fc95337f973e871b84735ce822b5e11ba73ea8c
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3340721
Reviewed-by: Mark Mentovai <mark@chromium.org>
2021-12-15 22:00:51 +00:00
..
apple/Framework Mac: Add support for in-process crash reporting to Breakpad. 2014-09-15 22:48:18 +00:00
ios Add missing config for encoding_util.h/m in iOS client project 2021-11-22 18:47:26 +00:00
linux Fix for non-constant SIGSTKSZ 2021-12-15 22:00:51 +00:00
mac Fix an instance of -Wshadow. 2021-10-20 13:21:51 +00:00
solaris/handler fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
windows Fix an instance of -Wunused-but-set-variable. 2021-07-26 16:01:35 +00:00
minidump_file_writer-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
minidump_file_writer.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
minidump_file_writer.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
minidump_file_writer_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00