Hash :
fc333501
Author :
Date :
2009-09-01T12:25:01
backupfile, chdir-long, fts, savedir: make safer * lib/backupfile.c (includes): Use "dirent--.h", since numbered_backup can write to stderr during readdir. * lib/savedir.c (includes): Likewise. * lib/chdir-long.c (includes): Use "fcntl--.h", since openat emulation can write to stderr on failure. * lib/fts.c (includes) [!_LIBC]: Likewise for opendir and openat. * lib/getcwd.c: Document why opendir_safer is unused. * lib/glob.c: Likewise. * lib/scandir.c: Likewise. * lib/openat-proc.c: Likewise, for open_safer. * modules/backupfile (Depends-on): Add dirent-safer. * modules/savedir (Depends-on): Likewise. * modules/fts (Depends-on): Add dirent-safer and openat-safer. * modules/chdir-long (Depends-on): Add openat-safer. Signed-off-by: Eric Blake <ebb9@byu.net>
Description:
Return the entries of a directory (just the names) as an argz string.
Files:
lib/savedir.h
lib/savedir.c
m4/savedir.m4
Depends-on:
dirent-safer
fdopendir
xalloc
configure.ac:
gl_SAVEDIR
Makefile.am:
Include:
"savedir.h"
License:
GPL
Maintainer:
Jim Meyering