Indirectly closedir(3) from exit(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-12-01 18:36:56 +01:00
parent c9e0fa687c
commit 9fec909970
3 changed files with 3 additions and 1 deletions
libc/dirent

View file

@ -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;
}