Hash :
fb8c836a
Author :
Date :
2009-08-19T09:54:54
tests: test some of the *-safer modules * modules/fopen-safer (Depends-on): Add fopen. * modules/fcntl-safer (Depends-on): Add fcntl. * modules/stdlib-safer (Depends-on): Add stdlib. (configure.ac): Set indicator. * modules/unistd-safer (configure.ac): Likewise. * modules/tmpfile-safer (configure.ac): Likewise. (Depends-on): Add tmpfile. * lib/stdio--.h (fopen, tmpfile): Don't override unless module is active. * tests/test-fopen.c (includes): Test safer versions when they are in use. * tests/test-open.c (includes): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Description:
tmpfile function that avoids clobbering std{in,out,err}.
Files:
lib/stdio--.h
lib/stdio-safer.h
lib/tmpfile-safer.c
m4/stdio-safer.m4
Depends-on:
binary-io
tmpfile
unistd-safer
configure.ac:
gl_TMPFILE_SAFER
gl_MODULE_INDICATOR([tmpfile-safer])
Makefile.am:
Include:
"stdio-safer.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering