Skip to content

Fix file descriptor check in fileFinalize#5395

Draft
AZero13 wants to merge 1 commit into
swiftlang:mainfrom
AZero13:by-one
Draft

Fix file descriptor check in fileFinalize#5395
AZero13 wants to merge 1 commit into
swiftlang:mainfrom
AZero13:by-one

Conversation

@AZero13

@AZero13 AZero13 commented Jan 17, 2026

Copy link
Copy Markdown
Contributor

Change file descriptor check from 'fd > 0' to 'fd >= 0' in fileFinalize to ensure file descriptors with value 0 are also properly handled.

Change file descriptor check from 'fd > 0' to 'fd >= 0' in fileFinalize to ensure file descriptors with value 0 are also properly handled.
@AZero13 AZero13 marked this pull request as draft January 17, 2026 17:44
@parkera

parkera commented Jan 28, 2026

Copy link
Copy Markdown
Contributor

@swift-ci test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants