]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.20] 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>
Thu, 18 May 2023 19:37:57 +0000 (19:37 +0000)
commit9270e3be8fe709983cac9536eb34adf1cd17c4a8
tree75f606c244c747c1183ed7bd83095843df3a1b3f
parent600636e931f3ae4b31f6a94fc56392b80e884f0a
[release-branch.go1.20] os: if descriptor is non-blocking, retain that in Fd method

For #58408
For #60211
Fixes #60217

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>
(cherry picked from commit f777726ff073f8066c017649b572bd8c40940a42)
Reviewed-on: https://go-review.googlesource.com/c/go/+/496015
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Heschi Kreinick <heschi@google.com>
src/internal/syscall/unix/nonblocking.go
src/internal/syscall/unix/nonblocking_js.go
src/internal/syscall/unix/nonblocking_libc.go
src/os/fifo_test.go
src/os/file_unix.go