diff options
author | Glenn Kasten <gkasten@google.com> | 2012-11-06 11:06:20 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-11-06 11:06:20 -0800 |
commit | 3b31d805517c0bde8a0ebed219cbd4b8409c71c2 (patch) | |
tree | 9cb42c78836745884fb27d823740fd26972db1f3 | |
parent | 8b6ce0a269ba67995766980f5b83937302143e64 (diff) | |
parent | 1c6833afd6cfdbc6c696ed0719ceedc37ec0b534 (diff) |
am 1c6833af: Ignore SIGPIPE during write() to broken pipe
* commit '1c6833afd6cfdbc6c696ed0719ceedc37ec0b534':
Ignore SIGPIPE during write() to broken pipe
-rw-r--r-- | media/mediaserver/main_mediaserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/mediaserver/main_mediaserver.cpp b/media/mediaserver/main_mediaserver.cpp index 6b1abb1b..ddd5b842 100644 --- a/media/mediaserver/main_mediaserver.cpp +++ b/media/mediaserver/main_mediaserver.cpp @@ -33,6 +33,7 @@ using namespace android; int main(int argc, char** argv) { + signal(SIGPIPE, SIG_IGN); sp<ProcessState> proc(ProcessState::self()); sp<IServiceManager> sm = defaultServiceManager(); ALOGI("ServiceManager: %p", sm.get()); |