From 2cc89c12b30109613c694283b0b43da2d71810e9 Mon Sep 17 00:00:00 2001 From: Guillaume Lessard Date: Tue, 9 Jun 2026 13:56:55 -0700 Subject: [PATCH] Defer pipe buffering decision to the OS on Windows --- Sources/System/Internals/WindowsSyscallAdapters.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/System/Internals/WindowsSyscallAdapters.swift b/Sources/System/Internals/WindowsSyscallAdapters.swift index c649aa3..4883140 100644 --- a/Sources/System/Internals/WindowsSyscallAdapters.swift +++ b/Sources/System/Internals/WindowsSyscallAdapters.swift @@ -201,7 +201,7 @@ internal func pwrite( @inline(__always) internal func pipe( - _ fds: UnsafeMutablePointer, bytesReserved: UInt32 = 4096 + _ fds: UnsafeMutablePointer, bytesReserved: UInt32 = 0 ) -> CInt { return _pipe(fds, bytesReserved, _O_BINARY | _O_NOINHERIT); }