elvish/pkg/eval/port_unix.go
Qi Xiao 6ced40733c pkg/eval: Fix EPIPE on Windows.
The syscall package exposes an EPIPE on Windows, but it's not what Windows APIs
return. The error number 232 is what is semantically EPIPE.
2021-06-18 00:45:25 +01:00

8 lines
88 B
Go

//+build !windows,!plan9,!js
package eval
import "syscall"
var epipe = syscall.EPIPE