summaryrefslogtreecommitdiffstats
path: root/content/app
diff options
context:
space:
mode:
authordmichael@google.com <dmichael@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 18:39:43 +0000
committerdmichael@google.com <dmichael@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 18:39:43 +0000
commitc4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6 (patch)
tree015ca41c4d18b3c1b9e68094746279c9f7316139 /content/app
parent8355c43370924931547c5923065c33ae15009202 (diff)
downloadchromium_src-c4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6.zip
chromium_src-c4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6.tar.gz
chromium_src-c4db9a19988a098e28c6d5718f3d8f5bfb3f2fd6.tar.bz2
Revert 168239 - Extract SIGPIPE ignoring code to a common place.
Failed compile on Linux Clang: http://build.chromium.org/p/chromium.linux/builders/Linux%20Clang%20%28dbg%29/builds/35971/steps/compile/logs/stdio ../../chrome/test/webdriver/webdriver_server.cc:230:8:error: use of undeclared identifier 'IgnoreSigPipe'; did you mean 'base::IgnoreSigPipe'? if (!IgnoreSigPipe()) { ^~~~~~~~~~~~~ base::IgnoreSigPipe ../../base/process_util.h:153:18: note: 'base::IgnoreSigPipe' declared here BUG=none Review URL: https://codereview.chromium.org/11280010 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/11308073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app')
-rw-r--r--content/app/content_main_runner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index e35c8e4..22115ce 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -222,7 +222,7 @@ void SetupSignalHandlers() {
}
// Always ignore SIGPIPE. We check the return value of write().
- CHECK(base::IgnoreSigPipe());
+ CHECK(signal(SIGPIPE, SIG_IGN) != SIG_ERR);
}
#endif // OS_POSIX && !OS_IOS