File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1- main-snapshot-2025-04-12
1+ 6.1.0
Original file line number Diff line number Diff line change @@ -871,11 +871,7 @@ internal struct CreatedPipe {
871871 }
872872
873873 internal init ( closeWhenDone: Bool ) throws {
874- #if os(Windows)
875874 let pipe = try FileDescriptor . ssp_pipe ( )
876- #else
877- let pipe = try FileDescriptor . pipe ( )
878- #endif
879875
880876 self . readFileDescriptor = . init(
881877 pipe. readEnd,
Original file line number Diff line number Diff line change @@ -375,6 +375,13 @@ extension Configuration {
375375
376376// MARK: - FileDescriptor extensions
377377extension FileDescriptor {
378+ internal static func ssp_pipe( ) throws -> (
379+ readEnd: FileDescriptor ,
380+ writeEnd: FileDescriptor
381+ ) {
382+ try pipe ( )
383+ }
384+
378385 internal static func openDevNull(
379386 withAcessMode mode: FileDescriptor . AccessMode
380387 ) throws -> FileDescriptor {
You can’t perform that action at this time.
0 commit comments