summaryrefslogtreecommitdiff
path: root/modules/tempname
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2006-10-27 13:51:23 +0000
committerEric Blake <ebb9@byu.net>2006-10-27 13:51:23 +0000
commita8753bfd5b8e2d2d440febce6355fc719eb469b4 (patch)
tree0ad6728246a66e61caf6fbcacf347708dcfd7786 /modules/tempname
parent7f6be5eeffbc0e1aa1fbcd44fef901f1178591bc (diff)
downloadgnulib-a8753bfd5b8e2d2d440febce6355fc719eb469b4.tar.gz
* MODULES.html.sh: Document tempname.
* 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.
Diffstat (limited to 'modules/tempname')
-rw-r--r--modules/tempname26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/tempname b/modules/tempname
new file mode 100644
index 0000000000..a94f568480
--- /dev/null
+++ b/modules/tempname
@@ -0,0 +1,26 @@
+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