modules/popen-safer


Log

Author Commit Date CI Message
Bruno Haible 251c566a 2011-05-24T01:52:04 popen-safer: Move AC_LIBOBJ invocations to module description. * m4/stdio-safer.m4 (gl_POPEN_SAFER): Remove macro. * modules/popen-safer (Files): Remove m4/stdio-safer.m4. (configure.ac): Remove gl_POPEN_SAFER call. (Makefile.am): Augment lib_SOURCES.
Eric Blake ccb9c679 2009-08-19T10:02:19 popen-safer: prevent popen from clobbering std descriptors * modules/popen-safer: New file. * lib/popen-safer.c: Likewise. * m4/stdio-safer.m4 (gl_POPEN_SAFER): New macro. * lib/stdio--.h (popen): Provide override. * lib/stdio-safer.h (popen_safer): Provide declaration. * tests/test-popen.c (includes): Partially test this. * modules/popen-safer-tests: New file, for more tests. * tests/test-popen-safer.c: Likewise. * MODULES.html.sh (file stream based Input/Output): Mention it. Signed-off-by: Eric Blake <ebb9@byu.net>