1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/tmpdir
Bruno Haible 68dd9ac979 tmpdir: Use a good default directory on native Windows.
* lib/tmpdir.c: Include <windows.h>, pathmax.h.
(P_tmpdir): Default to _P_tmpdir on native Windows.
(path_search): On native Windows, try the value returned by GetTempPath
before trying P_tmpdir.
* modules/tmpdir (Depends-on): Add pathmax.
Suggested by John Darrington <john@darrington.wattle.id.au>.
2011-08-23 08:40:27 +02:00

29 lines
266 B
Plaintext

Description:
Determine a temporary directory.
Files:
lib/tmpdir.h
lib/tmpdir.c
m4/tmpdir.m4
Depends-on:
stdbool
sys_stat
pathmax
configure.ac:
gt_TMPDIR
Makefile.am:
lib_SOURCES += tmpdir.h tmpdir.c
Include:
"tmpdir.h"
License:
LGPL
Maintainer:
Bruno Haible