-
- Downloads
syscall: let ENOSYS, ENOTSUP and EOPNOTSUPP implement errors.ErrUnsupported
As suggested by Bryan, also update (Errno).Is on windows to include the missing oserror cases that are covered on other platforms. Quoting Bryan: > Windows syscalls don't actually return those errors, but the dummy Errno > constants defined on Windows should still have the same meaning as on > Unix. Updates #41198 Change-Id: I15441abde4a7ebaa3c6518262c052530cd2add4b Reviewed-on: https://go-review.googlesource.com/c/go/+/476875 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by:Bryan Mills <bcmills@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by:
Ian Lance Taylor <iant@google.com>
Showing
- src/internal/testenv/testenv_unix.go 0 additions, 5 deletionssrc/internal/testenv/testenv_unix.go
- src/syscall/syscall_js.go 5 additions, 2 deletionssrc/syscall/syscall_js.go
- src/syscall/syscall_plan9.go 2 additions, 2 deletionssrc/syscall/syscall_plan9.go
- src/syscall/syscall_unix.go 5 additions, 2 deletionssrc/syscall/syscall_unix.go
- src/syscall/syscall_windows.go 14 additions, 6 deletionssrc/syscall/syscall_windows.go
Please register or sign in to comment