Defer pipe buffering decision to the OS on Windows

This commit is contained in:
Guillaume Lessard committed 2026-06-09 16:27:18 -07:00
1 parent e59002fa14
commit 2cc89c12b3
1 file changed
+1 -1
@@ -201,7 +201,7 @@ internal func pwrite(
@inline(__always)
internal func pipe(
_ fds: UnsafeMutablePointer<Int32>, bytesReserved: UInt32 = 4096
_ fds: UnsafeMutablePointer<Int32>, bytesReserved: UInt32 = 0
) -> CInt {
return _pipe(fds, bytesReserved, _O_BINARY | _O_NOINHERIT);
}