diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-06-10 10:59:18 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-06-10 10:59:18 +0200 |
commit | c29cace1e8f3260389ea78fa4ef86d80cd5e5275 (patch) | |
tree | 947e4435053998a194caacab99bf614d8fd5bc78 /src/pkg/os/error_posix.go | |
parent | 56135c623a865c501ab31cc940c0e22ece2673f4 (diff) | |
download | golang-c29cace1e8f3260389ea78fa4ef86d80cd5e5275.tar.gz |
Imported Upstream version 2011.06.09upstream-weekly/2011.06.09
Diffstat (limited to 'src/pkg/os/error_posix.go')
-rw-r--r-- | src/pkg/os/error_posix.go | 2 |
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 { |