You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(io): correct write_all_nullptr_case and prevent FD leak in POSIX pipe setup (#1201)
- freestanding/io_buffer/output.h: fix write_all_nullptr_case to dispatch to
scatter_write_all(_bytes)_decay on the output stream (optstm), and keep
buffer_curr consistent.
- hosted/platforms/posix.h: avoid FD leaks in the POSIX pipe constructor by
wrapping FDs with posix_file_factory and setting FD_CLOEXEC; transfer
ownership explicitly and keep a single assignment point.
No API changes. Success paths unchanged. Rebase-only history preserved.
0 commit comments