<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/os/root_windows.go, branch fix-runtime-test-GOMAXPROCS</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-07-18T21:43:56Z</updated>
<entry>
<title>os: revert the use of AddCleanup to close files and roots</title>
<updated>2025-07-18T21:43:56Z</updated>
<author>
<name>Carlos Amedee</name>
<email>carlos@golang.org</email>
</author>
<published>2025-07-16T19:05:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0451816430486a25966dd76aa92735ac0588b8e5'/>
<id>urn:sha1:0451816430486a25966dd76aa92735ac0588b8e5</id>
<content type='text'>
This reverts commit fdaac84480b02e600660d0ca7c15339138807107.

Updates #70907
Updates #74574
Updates #74642

Reason for revert: Issue #74574

Change-Id: I7b55b85736e4210d9b6f3fd7a24050ac7bdefef9
Reviewed-on: https://go-review.googlesource.com/c/go/+/688435
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.MkdirAll</title>
<updated>2025-05-21T17:14:43Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-05-19T20:09:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e59e128f90aa2453d8881a622524df90feb9d22f'/>
<id>urn:sha1:e59e128f90aa2453d8881a622524df90feb9d22f</id>
<content type='text'>
For #67002

Change-Id: Idd74b5b59e787e89bdfad82171b6a7719465f501
Reviewed-on: https://go-review.googlesource.com/c/go/+/674116
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.RemoveAll</title>
<updated>2025-05-21T16:30:51Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-28T23:40:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=896097000912761dbd31cead2bec99f17534f521'/>
<id>urn:sha1:896097000912761dbd31cead2bec99f17534f521</id>
<content type='text'>
For #67002

Change-Id: If59dab4fd934a115d8ff383826525330de750b54
Reviewed-on: https://go-review.googlesource.com/c/go/+/661595
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>os: support overlapped IO with NewFile</title>
<updated>2025-04-04T21:00:21Z</updated>
<author>
<name>qmuntal</name>
<email>quimmuntal@gmail.com</email>
</author>
<published>2025-04-02T10:47:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7e60bdd7aada492c2f4a492d92439040974af2c5'/>
<id>urn:sha1:7e60bdd7aada492c2f4a492d92439040974af2c5</id>
<content type='text'>
The runtime/poll package has just gained support for overlapped IO,
see CL 660595 and CL 661955. The only remaining piece was making it
visible to user code via os.NewFile.

Some of the poll.FD.Init responsibility has been moved to os.NewFile
to avoid unnecessary syscalls for the common case of using os.Open,
os.Create, os.OpenFile, and os.Pipe, where we know that the file
is not opened for overlapped IO.

Some internal/poll tests have been moved to the os package to exercise
public APIs rather than internal ones.

The os.NewFile function definition has been moved into an OS-agnostic
file to avoid having duplicated documentation and ensure that the
caller is aware of its behavior across all platforms.

Closes #19098.

Cq-Include-Trybots: luci.golang.try:gotip-windows-amd64-longtest,gotip-windows-amd64-race,gotip-windows-arm64
Change-Id: If043f8b34d588cd4b481777203107ed92d660fd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/662236
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>internal/syscall/windows: use unsafe.Pointer instead of uintptr</title>
<updated>2025-04-04T17:40:19Z</updated>
<author>
<name>qmuntal</name>
<email>quimmuntal@gmail.com</email>
</author>
<published>2025-04-04T10:16:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6839e71d82e0f2c93e043820db6c0238a65ae0fa'/>
<id>urn:sha1:6839e71d82e0f2c93e043820db6c0238a65ae0fa</id>
<content type='text'>
Some functions accept a uintptr when they should accept an
unsafe.Pointer, else the compiler won't know that the pointer should
be kept alive across the call, potentially causing undefined behavior.

Fixes #73156 (potentially)

Change-Id: I29c847eb8ffbb785fabf217e9f3718d10cfb5047
Reviewed-on: https://go-review.googlesource.com/c/go/+/662855
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>os: avoid symlink races in RemoveAll on Windows</title>
<updated>2025-03-31T22:36:10Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-28T23:14:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6d418096b2dfe2a2e47b7aa83b46748fb301e6cb'/>
<id>urn:sha1:6d418096b2dfe2a2e47b7aa83b46748fb301e6cb</id>
<content type='text'>
Make the openat-using version of RemoveAll use the appropriate
Windows equivalent, via new portable (but internal) functions
added for os.Root.

We could reimplement everything in terms of os.Root,
but this is a bit simpler and keeps the existing code structure.

Fixes #52745

Change-Id: I0eba0286398b351f2ee9abaa60e1675173988787
Reviewed-on: https://go-review.googlesource.com/c/go/+/661575
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Symlink</title>
<updated>2025-03-28T18:02:40Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-25T17:31:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=26fdb07d4ce58885305283ba18960f582f4eaa73'/>
<id>urn:sha1:26fdb07d4ce58885305283ba18960f582f4eaa73</id>
<content type='text'>
For #67002

Change-Id: Ia1637b61eae49e97e1d07f058ad2390e74cd3403
Reviewed-on: https://go-review.googlesource.com/c/go/+/660635
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Quim Muntal &lt;quimmuntal@gmail.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Link</title>
<updated>2025-03-24T14:53:38Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-20T19:41:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d2d1fd68b6299d4645298e6d70fe8e8cfd98001a'/>
<id>urn:sha1:d2d1fd68b6299d4645298e6d70fe8e8cfd98001a</id>
<content type='text'>
For #67002

Change-Id: I223f3f2dbc8b02726f4ce5a017c628c4a20f109a
Reviewed-on: https://go-review.googlesource.com/c/go/+/659757
Reviewed-by: Quim Muntal &lt;quimmuntal@gmail.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Rename</title>
<updated>2025-03-20T22:12:24Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-19T18:15:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2ffda87f2dce71024f72ccff32cbfe29ee676bf8'/>
<id>urn:sha1:2ffda87f2dce71024f72ccff32cbfe29ee676bf8</id>
<content type='text'>
For #67002

Change-Id: Ifb1042bc5ceaeea64296763319b24634bbcb0bf0
Reviewed-on: https://go-review.googlesource.com/c/go/+/659416
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Readlink</title>
<updated>2025-03-19T19:00:51Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-18T22:12:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=cb0d767a1022ac3e1384761facd949ea00f3a761'/>
<id>urn:sha1:cb0d767a1022ac3e1384761facd949ea00f3a761</id>
<content type='text'>
For #67002

Change-Id: I532a5ffc02c7457796540db54fa2f5ddad86e4b2
Reviewed-on: https://go-review.googlesource.com/c/go/+/658995
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
</feed>
