summaryrefslogtreecommitdiff
path: root/modules/openat-safer
Commit message (Collapse)AuthorAgeFilesLines
* openat-safer: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-0/+1
| | | | | * m4/fcntl-safer.m4 (gl_OPENAT_SAFER): Remove AC_LIBOBJ invocation. * modules/openat-safer (Makefile.am): Augment lib_SOURCES.
* openat-safer: new moduleEric Blake2009-09-021-0/+28
* modules/openat-safer: New file. * lib/openat-safer.c: Likewise. * m4/fcntl-safer.m4 (gl_OPENAT_SAFER): New macro. * lib/fcntl-safer.h (openat_safer): Declare. * lib/fcntl--.h (openat): Override. * MODULES.html.sh (File descriptor based I/O): Mention it. * lib/openat.h: Add double-inclusion guards. * lib/openat.c (includes): Only include "fcntl-safer.h", not "fcntl--.h", so we can implement openat. * modules/openat-safer-tests: New test. * tests/test-openat-safer.c: New file. Signed-off-by: Eric Blake <ebb9@byu.net>