From: Ian Lance Taylor Date: Thu, 8 Jun 2023 00:11:50 +0000 (-0700) Subject: doc/go1.21: mention NewFile on non-blocking descriptor X-Git-Tag: go1.21rc1~55 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=a272d1f6874172be618c70995947e44a9003aae6;p=gostls13.git doc/go1.21: mention NewFile on non-blocking descriptor The returned descriptor now remains in non-blocking mode. For #58408 For #60211 Change-Id: I88d33c180db642d055b4fed3b03a9afa02e746bd Reviewed-on: https://go-review.googlesource.com/c/go/+/501699 Auto-Submit: Ian Lance Taylor TryBot-Bypass: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Bryan Mills --- diff --git a/doc/go1.21.html b/doc/go1.21.html index 4729fe9dfc..e22b753400 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -859,7 +859,11 @@ Do not send CLs removing the interior tags from such phrases.

- TODO: https://go.dev/cl/495079: os: if descriptor is non-blocking, retain that in Fd method + On Unix systems, if a non-blocking descriptor is passed + to NewFile, calling + the File.Fd method + will now return a non-blocking descriptor. Previously the + descriptor was converted to blocking mode.