Indirectly closedir(3) from exit(3).
This commit is contained in:
parent
c9e0fa687c
commit
9fec909970
3 changed files with 3 additions and 1 deletions
libc/dirent
|
@ -39,6 +39,7 @@ extern "C" DIR* dnewdir(void)
|
|||
return NULL;
|
||||
dir->flags = 0;
|
||||
dir->free_func = dfreedir;
|
||||
dir->closedir_indirect = closedir;
|
||||
dregister(dir);
|
||||
return dir;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue