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 {
1093
1093
1094
1094
var bytesRead : DWORD = 0
1095
1095
let readSucceed = ReadFile (
1096
- self . fileDescriptor . platformDescriptor,
1096
+ self . platformDescriptor,
1097
1097
UnsafeMutableRawPointer ( mutating: baseAddress) ,
1098
1098
DWORD ( maxLength - totalBytesRead) ,
1099
1099
& bytesRead,
@@ -1123,11 +1123,11 @@ extension FileDescriptor {
1123
1123
totalBytesRead += values. count
1124
1124
1125
1125
if totalBytesRead >= maxLength {
1126
- continuation. yield ( . endOfChunk( SequenceOutput . Buffer ( data: values) ) )
1126
+ continuation. yield ( . endOfChunk( AsyncBufferSequence . Buffer ( data: values) ) )
1127
1127
continuation. finish ( )
1128
1128
return
1129
1129
} else {
1130
- continuation. yield ( . data( SequenceOutput . Buffer ( data: values) ) )
1130
+ continuation. yield ( . data( AsyncBufferSequence . Buffer ( data: values) ) )
1131
1131
}
1132
1132
} else {
1133
1133
continuation. yield ( . endOfFile)
You can’t perform that action at this time.
0 commit comments