mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-07 02:10:27 +00:00
Revert "Fix __zipos_close (#984)"
This is not needed; `__zipos_close` already gates its `__zipos_free`
behind a `__vforked` check.
This reverts commit 53357aa26a
.
This commit is contained in:
parent
bd10cf9d38
commit
440accd4a3
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ static int close_impl(int fd) {
|
|||
}
|
||||
|
||||
if (__isfdkind(fd, kFdZip)) {
|
||||
if (!__vforked && _weaken(__zipos_close)) {
|
||||
if (_weaken(__zipos_close)) {
|
||||
return _weaken(__zipos_close)(fd);
|
||||
}
|
||||
if (!IsWindows() && !IsMetal()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue