diff --git a/doc/go1.21.html b/doc/go1.21.html index 8e9b170882..1c7fb9ec5c 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -745,6 +745,15 @@ Do not send CLs removing the interior tags from such phrases. an error indicating that the file does not exist.

+

+ On Windows calling + TempDir now uses + GetTempPath2W when available, instead of GetTempPathW. The + new behavior is a security hardening measure that prevents + temporary files created by processes running as SYSTEM to + be accessed by non-SYSTEM processes. +

+

On Windows the os package now supports working with files whose names, stored as UTF-16, can't be represented as valid UTF-8.