Skip to content

Commit

Permalink
Fix __zipos_close (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdomino authored Dec 5, 2023
1 parent 577bb18 commit 53357aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/calls/close.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static int close_impl(int fd) {
}

if (__isfdkind(fd, kFdZip)) {
if (_weaken(__zipos_close)) {
if (!__vforked && _weaken(__zipos_close)) {
return _weaken(__zipos_close)(fd);
}
if (!IsWindows() && !IsMetal()) {
Expand Down

0 comments on commit 53357aa

Please sign in to comment.