File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/Subprocess/Platforms Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1093,7 +1093,7 @@ extension FileDescriptor {
10931093
10941094 var bytesRead : DWORD = 0
10951095 let readSucceed = ReadFile (
1096- self . fileDescriptor . platformDescriptor,
1096+ self . platformDescriptor,
10971097 UnsafeMutableRawPointer ( mutating: baseAddress) ,
10981098 DWORD ( maxLength - totalBytesRead) ,
10991099 & bytesRead,
@@ -1123,11 +1123,11 @@ extension FileDescriptor {
11231123 totalBytesRead += values. count
11241124
11251125 if totalBytesRead >= maxLength {
1126- continuation. yield ( . endOfChunk( SequenceOutput . Buffer ( data: values) ) )
1126+ continuation. yield ( . endOfChunk( AsyncBufferSequence . Buffer ( data: values) ) )
11271127 continuation. finish ( )
11281128 return
11291129 } else {
1130- continuation. yield ( . data( SequenceOutput . Buffer ( data: values) ) )
1130+ continuation. yield ( . data( AsyncBufferSequence . Buffer ( data: values) ) )
11311131 }
11321132 } else {
11331133 continuation. yield ( . endOfFile)
You can’t perform that action at this time.
0 commit comments