Skip to content

eagerly close file port when open-source-file fails on a non-seekable device#1036

Merged
burgerrg merged 1 commit intomainfrom
bburger/open-source-file
Apr 16, 2026
Merged

eagerly close file port when open-source-file fails on a non-seekable device#1036
burgerrg merged 1 commit intomainfrom
bburger/open-source-file

Conversation

@burgerrg
Copy link
Copy Markdown
Contributor

Addresses #1031

@burgerrg burgerrg requested a review from mflatt April 16, 2026 19:22
Copy link
Copy Markdown
Contributor

@mflatt mflatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a worrying that open-source-file is currently not tested at all, but adding a portable test for this change would be a little painful (maybe more than it's worth), anyway. I can't see or detect any problem.

@burgerrg
Copy link
Copy Markdown
Contributor Author

That's exactly what I thought, and I'm satisfied with a code review and testing it manually.

@burgerrg burgerrg merged commit 4b534e5 into main Apr 16, 2026
32 checks passed
@burgerrg burgerrg deleted the bburger/open-source-file branch April 16, 2026 20:41
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