mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* modules/mkstemp (Depends-on): Add tempname, and drop transitive dependencies. (Files): Move lib/tempname.c... * modules/tempname: ...to this new module. * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Remove tempname checks. (gl_PREREQ_TEMPNAME): Move... * m4/tempname.m4: ...to this new file. * lib/mkstemp.c (includes) [!_LIBC]: Use tempname.h. * modules/sys_stat (Depends-on): Add stat-macros. * lib/stat_.h (includes): Pick up stat macros. * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Replace <sys/stat.h> if stat macros are broken. * lib/tempname.c (includes): No need to include "stat-macros.h". (__gen_tempname) [!_LIBC]: Expose as gen_tempname. (direxists, __path_search) [!_LIBC]: Don't compile these in gnulib; the tmpdir module covers that. * lib/tempname.h: New file.
27 lines
305 B
Plaintext
27 lines
305 B
Plaintext
Description:
|
|
gen_tempname() function: create a private temporary file or directory.
|
|
|
|
Files:
|
|
lib/tempname.c
|
|
lib/tempname.h
|
|
m4/tempname.m4
|
|
|
|
Depends-on:
|
|
extensions
|
|
stdint
|
|
sys_stat
|
|
|
|
configure.ac:
|
|
gl_FUNC_GEN_TEMPNAME
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
"tempname.h"
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
Eric Blake and Jim Meyering
|