OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9607696
)
Ignore SIGPIPE during write() to broken pipe
author
Glenn Kasten
<gkasten@google.com>
Wed, 17 Oct 2012 19:16:50 +0000
(12:16 -0700)
committer
Glenn Kasten
<gkasten@google.com>
Tue, 6 Nov 2012 17:28:55 +0000
(09:28 -0800)
This happens occasionally when taking a bugreport.
Bug:
6447319
Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a
media/mediaserver/main_mediaserver.cpp
patch
|
blob
|
history
diff --git
a/media/mediaserver/main_mediaserver.cpp
b/media/mediaserver/main_mediaserver.cpp
index
6b1abb1
..
ddd5b84
100644
(file)
--- 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());