1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-09-02 15:41:25 +03:00
Files
gnulib/modules/tmpfile-safer
Eric Blake fb8c836ade 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>
2009-08-19 10:12:14 -06:00

29 lines
354 B
Plaintext

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