Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Unified Diff: src/pkg/runtime/freebsd/amd64/signal.c

Issue 4452046: code review 4452046: runtime: turn "too many EPIPE" into real SIGPIPE (Closed)
Patch Set: diff -r 3c60a27e84c5 https://go.googlecode.com/hg Created 13 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/freebsd/386/sys.s ('k') | src/pkg/runtime/freebsd/amd64/sys.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/freebsd/amd64/signal.c
===================================================================
--- a/src/pkg/runtime/freebsd/amd64/signal.c
+++ b/src/pkg/runtime/freebsd/amd64/signal.c
@@ -190,3 +190,10 @@
}
m->profilehz = hz;
}
+
+void
+os·sigpipe(void)
+{
+ sigaction(SIGPIPE, SIG_DFL, false);
+ runtime·raisesigpipe();
+}
« no previous file with comments | « src/pkg/runtime/freebsd/386/sys.s ('k') | src/pkg/runtime/freebsd/amd64/sys.s » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b