Skip to content

fix: check directory closes after sync - #96

Merged
HaoZeke merged 1 commit into
developfrom
fix/dir-close-after-sync-v2
Nov 26, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/dir-close-after-sync-v2

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Some directory closes are now checked.

The checked closes are the ones that follow a sync the caller relies
on. They go through the same replaceable calls as a file close. A
failed close is returned. A close that a signal interrupts counts as
success and is not retried. Cleanup closes after an earlier error
ignore their result and keep the earlier errno. What is left at the
target name is unchanged.

Some directory closes are now checked.

The checked closes are the ones that follow a sync the caller relies
on. They go through the same replaceable calls as a file close. A
failed close is returned. A close that a signal interrupts counts as
success and is not retried. Cleanup closes after an earlier error
ignore their result and keep the earlier errno. What is left at the
target name is unchanged.
@HaoZeke
HaoZeke merged commit de0b226 into develop Nov 26, 2026
8 checks passed
@HaoZeke
HaoZeke deleted the fix/dir-close-after-sync-v2 branch November 26, 2026 01:38
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.

1 participant