mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
To find the temporary files directory to use, the pathtemp() function (generate a unique path to a temporary file) first checks $TMPDIR and $TMPPATH, then falls back to /tmp, then to /usr/tmp as a last resort. But all systems replaced /usr/tmp by /var/tmp decades ago to allow mounting /usr as read-only, and a /usr/tmp compatibility symlink is no longer commonly provided. src/lib/libast/path/pathtemp.c: - Change TMP2 definition from "/usr/tmp" to "/var/tmp". src/lib/libast/features/mmap, src/lib/libast/features/stdio: - Change "/usr/tmp" to "/var/tmp" in feature tests. |
||
|---|---|---|
| .. | ||
| pathaccess.c | ||
| pathbin.c | ||
| pathcanon.c | ||
| pathcat.c | ||
| pathcd.c | ||
| pathcheck.c | ||
| pathexists.c | ||
| pathfind.c | ||
| pathgetlink.c | ||
| pathkey.c | ||
| pathnative.c | ||
| pathpath.c | ||
| pathposix.c | ||
| pathprobe.c | ||
| pathprog.c | ||
| pathrepl.c | ||
| pathsetlink.c | ||
| pathshell.c | ||
| pathstat.c | ||
| pathtemp.c | ||
| pathtmp.c | ||