mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-25 07:19:02 +00:00
Fix __zipos_close (#984)
This commit is contained in:
parent
577bb180b7
commit
53357aa26a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ static int close_impl(int fd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (__isfdkind(fd, kFdZip)) {
|
if (__isfdkind(fd, kFdZip)) {
|
||||||
if (_weaken(__zipos_close)) {
|
if (!__vforked && _weaken(__zipos_close)) {
|
||||||
return _weaken(__zipos_close)(fd);
|
return _weaken(__zipos_close)(fd);
|
||||||
}
|
}
|
||||||
if (!IsWindows() && !IsMetal()) {
|
if (!IsWindows() && !IsMetal()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue