fix fd leak and case where fd 1 is already closed in wordexp
[musl] / lib /
drwxr-xr-x   ..
-rw-r--r-- 0 empty