mirror of
https://github.com/golang/go
synced 2024-11-11 22:40:22 -07:00
doc: add release notes for os and os/exec
Change-Id: I34fd45ee252474c12f2e9c8d9b1a75b9eabb57f2 Reviewed-on: https://go-review.googlesource.com/c/go/+/181549 Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
parent
ef84fa082c
commit
5f94d44722
@ -252,7 +252,8 @@ TODO
|
|||||||
<dl id="os"><dt><a href="/pkg/os/">os</a></dt>
|
<dl id="os"><dt><a href="/pkg/os/">os</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 166578 -->
|
<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>
|
</p>
|
||||||
|
|
||||||
</dl><!-- os -->
|
</dl><!-- os -->
|
||||||
@ -260,7 +261,9 @@ TODO
|
|||||||
<dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt>
|
<dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 174318 -->
|
<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>
|
</p>
|
||||||
|
|
||||||
</dl><!-- os/exec -->
|
</dl><!-- os/exec -->
|
||||||
|
Loading…
Reference in New Issue
Block a user