Skip to content

don't call __zipos_close if __vforked #984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

mrdomino
Copy link
Collaborator

@mrdomino mrdomino commented Dec 5, 2023

Fixes #978.

Copy link
Owner

@jart jart left a comment

Choose a reason for hiding this comment

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

Thank you!

@mrdomino
Copy link
Collaborator Author

mrdomino commented Dec 5, 2023

Dropped the test case from this PR.

@jart jart merged commit 53357aa into jart:master Dec 5, 2023
@mrdomino mrdomino deleted the zipos-fix branch December 12, 2023 20:47
mrdomino added a commit to mrdomino/cosmopolitan that referenced this pull request Dec 12, 2023
This is not needed; `__zipos_close` already gates its `__zipos_free`
behind a `__vforked` check.

This reverts commit 53357aa.
G4Vi pushed a commit to G4Vi/cosmopolitan that referenced this pull request Jan 19, 2024
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.

after vfork and closing zipos file, __isfdkind is incorrect
2 participants