diff --git a/doc/go1.21.html b/doc/go1.21.html index 0bf89fe212..ade075cd6d 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -606,6 +606,13 @@ Do not send CLs removing the interior tags from such phrases.
+ On Windows the
+ File.Chdir> method
+ now changes the current directory to the file, rather than
+ always returning an error.
+
TODO: https://go.dev/issue/32558: allow Chtimes with time.Time{} to avoid setting time
@@ -760,16 +767,18 @@ Do not send CLs removing the interior tags from such phrases.- TODO: https://go.dev/issue/46259: add Jail int32 to SysProcAttr on FreeBSD -
- -- TODO: https://go.dev/cl/458335: syscall: add jail support to ForkExec on FreeBSD; modified api/next/46259.txt -
-
- TODO: https://go.dev/cl/480135: syscall: implement Fchdir on Windows
+ On Windows the
+ Fchdir function
+ now changes the current directory to its argument, rather than
+ always returning an error.
+
+ On FreeBSD
+ SysProcAttr
+ has a new field Jail that may be used to put the
+ newly created process in a jailed environment.