mirror of https://github.com/golang/go.git
runtime: fix Plan 9 build
LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/138050043
This commit is contained in:
parent
1b47af2199
commit
b1d0152997
|
|
@ -317,12 +317,6 @@ runtime·semawakeup(M *mp)
|
|||
runtime·plan9_semrelease(&mp->waitsemacount, 1);
|
||||
}
|
||||
|
||||
void
|
||||
os·sigpipe(void)
|
||||
{
|
||||
runtime·throw("too many writes on closed pipe");
|
||||
}
|
||||
|
||||
static int64
|
||||
atolwhex(byte *p)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,3 +28,7 @@ func errstr() string
|
|||
const stackSystem = 512
|
||||
|
||||
type _Plink uintptr
|
||||
|
||||
func os_sigpipe() {
|
||||
gothrow("too many writes on closed pipe")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue