breakpad/src/client
mark@chromium.org 036dec3ecc Don't HANDLE_EINTR(close). Either IGNORE_EINTR(close) or just close.
It is incorrect to wrap close in HANDLE_EINTR on Linux.

Unnecessary #includes of eintr_wrapper.h are also removed. The variable naming
within the macro is also updated per Chromium r178174.

einter_wrapper.h contains a non-mechanical change. Mechanical changes were
generated by running:

sed -E -i '' \
    -e 's/((=|if|return|CHECK|EXPECT|ASSERT).*)HANDLE(_EINTR\(.*close)/\1IGNORE\3/' \
    -e 's/(ignore_result|void ?)\(HANDLE_EINTR\((.*close\(.*)\)\)/\2/' \
    -e 's/(\(void\) ?)?HANDLE_EINTR\((.*close\(.*)\)/\2/' \
    $(grep -rl HANDLE_EINTR.*close . --exclude-dir=.svn)

sed -E -i '' -e '/#include.*eintr_wrapper\.h"/d' \
    $(grep -EL '(HANDLE|IGNORE)_EINTR' \
        $(grep -Elr '#include.*eintr_wrapper\.h"' . --exclude-dir=.svn))

BUG=chromium:269623
R=ted.mielczarek@gmail.com

Review URL: https://breakpad.appspot.com/784002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1239 4c0a9323-5329-0410-9bdc-e9ce6186880e
2013-12-03 14:12:08 +00:00
..
apple/Framework Create a static library to use Breakpad on iOS. 2011-11-23 16:14:35 +00:00
ios Re-enable ios_exception_minidump_generator being built on non-ARM. 2013-12-02 16:02:48 +00:00
linux Don't HANDLE_EINTR(close). Either IGNORE_EINTR(close) or just close. 2013-12-03 14:12:08 +00:00
mac Generate minidumps for 64-bit ARM apps on iOS. 2013-11-21 17:44:57 +00:00
solaris/handler Use stdint types everywhere 2013-03-06 14:04:42 +00:00
windows add interface for WriteMinidump which allows the caller to supply file handles instead of paths where the minidumps should be written. 2013-06-06 17:20:34 +00:00
minidump_file_writer-inl.h Clean up build for 64 bit. 2010-07-19 20:43:49 +00:00
minidump_file_writer.cc Use stdint types everywhere 2013-03-06 14:04:42 +00:00
minidump_file_writer.h Use stdint types everywhere 2013-03-06 14:04:42 +00:00
minidump_file_writer_unittest.cc Turn on more warnings in ios / mac projects. 2012-09-21 07:58:25 +00:00