Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Subprocess/IO/AsyncIO+Windows.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ final class AsyncIO: @unchecked Sendable {

internal init() {
var maybeSetupError: SubprocessError? = nil
// Create the the completion port
// Create the completion port
guard
let ioCompletionPort = CreateIoCompletionPort(
INVALID_HANDLE_VALUE, nil, 0, 0
Expand Down
4 changes: 2 additions & 2 deletions Sources/Subprocess/Platforms/Subprocess+Linux.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ internal func monitorProcessTermination(
case let .success(status?):
return .success(status)
case .success(nil):
// Save this continuation to be called by signal hander
// Save this continuation to be called by signal handler
var newState = storage
newState.continuations[processIdentifier.value] = continuation
state = .started(newState)
Expand Down Expand Up @@ -350,7 +350,7 @@ private let setup: () = {
return
}
// Register the read end with epoll so we can get updates
// about it. The write end is written by the signal hander
// about it. The write end is written by the signal handler
var event = epoll_event(
events: EPOLLIN.rawValue,
data: epoll_data(fd: _signalPipe.readEnd)
Expand Down
2 changes: 1 addition & 1 deletion Tests/TestResources/TestResources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@preconcurrency import WinSDK
#endif

// Confitionally require Foundation due to `Bundle.module`
// Conditionally require Foundation due to `Bundle.module`
import Foundation

#if canImport(System)
Expand Down