fix __zipos_close

This commit is contained in:
Jōshin 2023-12-04 19:16:06 -05:00
parent ed8fadea37
commit 6146bdc6b5
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 (_weaken(__zipos_close)) {
if (!__vforked && _weaken(__zipos_close)) {
return _weaken(__zipos_close)(fd);
}
if (!IsWindows() && !IsMetal()) {