]> Cypherpunks.ru repositories - gostls13.git/commit
os: if descriptor is non-blocking, retain that in Fd method
authorIan Lance Taylor <iant@golang.org>
Tue, 16 May 2023 04:50:51 +0000 (21:50 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 17 May 2023 21:12:04 +0000 (21:12 +0000)
commitf777726ff073f8066c017649b572bd8c40940a42
tree85721d07a4e2360f2e60aee784e9b269fca8d1f5
parentf0de4b4f03cdde77305b7ae14bd960130a855182
os: if descriptor is non-blocking, retain that in Fd method

For #58408
Fixes #60211

Change-Id: I30f5678b46e15121865b19d1c0f82698493fad4e
Reviewed-on: https://go-review.googlesource.com/c/go/+/495079
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
src/internal/syscall/unix/nonblocking.go
src/internal/syscall/unix/nonblocking_js.go
src/internal/syscall/unix/nonblocking_libc.go
src/internal/syscall/unix/nonblocking_wasip1.go
src/os/fifo_test.go
src/os/file_unix.go