]> Cypherpunks repositories - gostls13.git/commit
syscall: avoid setting O_NONBLOCK needlessly by checking flags beforehand
authorAndy Pan <panjf2000@gmail.com>
Wed, 9 Aug 2023 13:13:50 +0000 (21:13 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 10 Aug 2023 14:38:22 +0000 (14:38 +0000)
commit8ecdc4e593676ff56f8ac273a01f27f0862992a9
tree321e75d73e2000ffa4477496feeb2cfe14161220
parentd13f7aa0ae1ad6ec86d66953cc84851977580c8c
syscall: avoid setting O_NONBLOCK needlessly by checking flags beforehand

Change-Id: I097a2941f1d1a7fd98ccf1534940d03f47ac3229
Reviewed-on: https://go-review.googlesource.com/c/go/+/517675
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Andy Pan <panjf2000@gmail.com>
src/syscall/exec_unix.go