summaryrefslogtreecommitdiff
path: root/src/pkg/os/error_posix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/error_posix.go')
-rw-r--r--src/pkg/os/error_posix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/os/error_posix.go b/src/pkg/os/error_posix.go
index 0ee34e4b0..d43f1786d 100644
--- a/src/pkg/os/error_posix.go
+++ b/src/pkg/os/error_posix.go
@@ -13,7 +13,7 @@ type Errno int64
func (e Errno) String() string { return syscall.Errstr(int(e)) }
func (e Errno) Temporary() bool {
- return e == Errno(syscall.EINTR) || e.Timeout()
+ return e == Errno(syscall.EINTR) || e == Errno(syscall.EMFILE) || e.Timeout()
}
func (e Errno) Timeout() bool {