Hash :
4f1227bd
Author :
Date :
2009-09-01T07:41:28
dirent-safer: new module * modules/dirent-safer: New file. * lib/dirent--.h: Likewise. * lib/dirent-safer.h: Likewise. * lib/opendir-safer.c: Likewise. * m4/dirent-safer.m4: Likewise. * MODULES.html.sh (Enhancements for POSIX:2008): Mention it. * modules/dirent-safer-tests: New test. * tests/test-dirent-safer.c: New file. * lib/fdopendir.c (includes): Ensure fdopendir is also safe. Signed-off-by: Eric Blake <ebb9@byu.net>
Description:
Directory functions that avoid clobbering STD{IN,OUT,ERR}_FILENO.
Files:
lib/dirent--.h
lib/dirent-safer.h
lib/opendir-safer.c
m4/dirent-safer.m4
Depends-on:
dirent
dirfd
unistd-safer
configure.ac:
gl_DIRENT_SAFER
gl_MODULE_INDICATOR([dirent-safer])
Makefile.am:
Include:
"dirent-safer.h"
License:
GPL
Maintainer:
Eric Blake