Commit b1d01529 authored by David du Colombier's avatar David du Colombier

runtime: fix Plan 9 build

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/138050043
parent 1b47af21
...@@ -317,12 +317,6 @@ runtime·semawakeup(M *mp) ...@@ -317,12 +317,6 @@ runtime·semawakeup(M *mp)
runtime·plan9_semrelease(&mp->waitsemacount, 1); runtime·plan9_semrelease(&mp->waitsemacount, 1);
} }
void
os·sigpipe(void)
{
runtime·throw("too many writes on closed pipe");
}
static int64 static int64
atolwhex(byte *p) atolwhex(byte *p)
{ {
......
...@@ -28,3 +28,7 @@ func errstr() string ...@@ -28,3 +28,7 @@ func errstr() string
const stackSystem = 512 const stackSystem = 512
type _Plink uintptr type _Plink uintptr
func os_sigpipe() {
gothrow("too many writes on closed pipe")
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment