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:
Jōshin 2023-12-12 15:51:16 -05:00
parent bd10cf9d38
commit 440accd4a3
No known key found for this signature in database

View file

@ -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()) {