diff options
author | Eric Blake <ebb9@byu.net> | 2009-11-02 16:11:18 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-11-04 19:10:16 -0700 |
commit | 8271e7fb801b2f7d2a5dc89e08b84d835f1376b9 (patch) | |
tree | ef81222008c5ac037cfef8fdb40f3af737f6329b /modules | |
parent | 964a52336aad0cf4a4d6c08c128560c87742c921 (diff) | |
download | gnulib-8271e7fb801b2f7d2a5dc89e08b84d835f1376b9.tar.gz |
stdlib-safer: wrap all mkstemp variants
* modules/mkostemp (configure.ac): Set witness.
* modules/mkostemps (configure.ac): Likewise.
* modules/mkstemps (configure.ac): Likewise.
* lib/stdlib-safer.h (mkostemp_safer, mkostemps_safer)
(mkstemps_safer): Wrap more functions.
* lib/stdlib--.h (mkostemp, mkostemps, mkstemps): Default the
wrapping.
* lib/mkstemp-safer.c (mkostemp_safer, mkostemps_safer)
(mkstemps_safer): Implement the wrappers.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mkostemp | 1 | ||||
-rw-r--r-- | modules/mkostemps | 1 | ||||
-rw-r--r-- | modules/mkstemps | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/modules/mkostemp b/modules/mkostemp index e336b90626..8a61dbeb07 100644 --- a/modules/mkostemp +++ b/modules/mkostemp @@ -13,6 +13,7 @@ tempname configure.ac: gl_FUNC_MKOSTEMP +gl_MODULE_INDICATOR([mkostemp]) gl_STDLIB_MODULE_INDICATOR([mkostemp]) Makefile.am: diff --git a/modules/mkostemps b/modules/mkostemps index 54c55e67ba..a4175bdb50 100644 --- a/modules/mkostemps +++ b/modules/mkostemps @@ -13,6 +13,7 @@ tempname configure.ac: gl_FUNC_MKOSTEMPS +gl_MODULE_INDICATOR([mkostemps]) gl_STDLIB_MODULE_INDICATOR([mkostemps]) Makefile.am: diff --git a/modules/mkstemps b/modules/mkstemps index 14f469858b..2a49777674 100644 --- a/modules/mkstemps +++ b/modules/mkstemps @@ -12,6 +12,7 @@ tempname configure.ac: gl_FUNC_MKSTEMPS +gl_MODULE_INDICATOR([mkstemps]) gl_STDLIB_MODULE_INDICATOR([mkstemps]) Makefile.am: |