]> Cypherpunks repositories - gostls13.git/commit
os: revert the use of AddCleanup to close files and roots
authorCarlos Amedee <carlos@golang.org>
Wed, 16 Jul 2025 19:05:48 +0000 (12:05 -0700)
committerCarlos Amedee <carlos@golang.org>
Fri, 18 Jul 2025 21:43:56 +0000 (14:43 -0700)
commit0451816430486a25966dd76aa92735ac0588b8e5
tree51eba396bfe6a0f1d28295c62f4d69dd1e8ad994
parent34b70684ba2fc8c5cba900e9abdfb874c1bd8c0e
os: revert the use of AddCleanup to close files and roots

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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/os/file.go
src/os/file_plan9.go
src/os/file_unix.go
src/os/file_windows.go
src/os/root_openat.go
src/os/root_unix.go
src/os/root_windows.go