Skip to content

pkg/storage: hide os.Stdin.Close again#6340

Merged
nwt merged 1 commit intomainfrom
pkg-storage-stdin-close
Nov 4, 2025
Merged

pkg/storage: hide os.Stdin.Close again#6340
nwt merged 1 commit intomainfrom
pkg-storage-stdin-close

Conversation

@nwt
Copy link
Member

@nwt nwt commented Nov 4, 2025

Exposing os.Stdin.Close in #6338 was a mistake because opening stdio:stdin with pkg/storage, closing it, and opening it again now returns a reader on which reads always fail with "read /dev/stdin: file already closed". Hide os.Stdin.Close again to prevent that error.

Exposing os.Stdin.Close in #6338 was a mistake because opening
stdio:stdin with pkg/storage, closing it, and opening it again now
returns a reader on which reads always fail with "read /dev/stdin: file
already closed".  Hide os.Stdin.Close again to prevent that error.
@nwt nwt merged commit 22de206 into main Nov 4, 2025
3 checks passed
@nwt nwt deleted the pkg-storage-stdin-close branch November 4, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants