Thread (1 message) 1 message, 1 author, 2026-01-26

Re: [RFC v1] man/man2/close.2: CAVEATS: Document divergence from POSIX.1-2024

From: Florian Weimer <hidden>
Date: 2026-01-26 08:52:08
Also in: linux-fsdevel

* Zack Weinberg:
In particular, I really hope delayed errors *aren’t* ever reported
when you close a file descriptor that *isn’t* the last reference
to its open file description, because the thread-safe way to close
stdout without losing write errors[2] depends on that not happening.
[2] https://stackoverflow.com/a/50865617 (third code block)
Are you sure about that?  It means that errors are never reported if a
shell script redirects standard output over multiple commands.

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help