]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add release notes for os and os/exec
authorAndrew Bonventre <andybons@golang.org>
Mon, 10 Jun 2019 21:37:34 +0000 (17:37 -0400)
committerAndrew Bonventre <andybons@golang.org>
Tue, 11 Jun 2019 17:29:22 +0000 (17:29 +0000)
Change-Id: I34fd45ee252474c12f2e9c8d9b1a75b9eabb57f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/181549
Reviewed-by: Bryan C. Mills <bcmills@google.com>
doc/go1.13.html

index 5caae1315d2293bbcdcbc4b6abc2bf0560c1308a..7bcc8af32c0a35928812fbd4a058691a9a71e033 100644 (file)
@@ -252,7 +252,8 @@ TODO
 <dl id="os"><dt><a href="/pkg/os/">os</a></dt>
   <dd>
     <p><!-- CL 166578 -->
-      TODO: <a href="https://golang.org/cl/166578">https://golang.org/cl/166578</a>: reject WriteAt if file opened in append mode
+      If a <a href="/pkg/os/#File"><code>File</code></a> is opened using the O_APPEND flag, its
+      <a href="/pkg/os/#File.WriteAt"><code>WriteAt</code></a> method will always return an error.
     </p>
 
 </dl><!-- os -->
@@ -260,7 +261,9 @@ TODO
 <dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt>
   <dd>
     <p><!-- CL 174318 -->
-      TODO: <a href="https://golang.org/cl/174318">https://golang.org/cl/174318</a>: always set SYSTEMROOT on Windows if not listed in Cmd.Env
+      On Windows, the environment for a <a href="/pkg/os/exec#Cmd"><code>Cmd</code></a> always inherits the
+      <code>%SYSTEMROOT%</code> value of the parent process unless the
+      <a href="/pkg/os/exec#Cmd.Env"><code>Cmd.Env</code></a> field includes an explicit value for it.
     </p>
 
 </dl><!-- os/exec -->