1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
cde/src/lib/libast/path
Martijn Dekker 10cca4767b libast: update /usr/tmp fallback to /var/tmp
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.
2020-09-12 19:14:27 +02:00
..
pathaccess.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathbin.c rm redundant hardcoded default paths (re: aa4669ad) 2020-08-11 15:20:10 +01:00
pathcanon.c Remove vestigial 3DFS support code (re: f88f302c) 2020-07-17 05:04:03 +01:00
pathcat.c Remove vestigial 3DFS support code (re: f88f302c) 2020-07-17 05:04:03 +01:00
pathcd.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathcheck.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathexists.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathfind.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathgetlink.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathkey.c Remove vestigial 3DFS support code (re: f88f302c) 2020-07-17 05:04:03 +01:00
pathnative.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathpath.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathposix.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathprobe.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathprog.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathrepl.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathsetlink.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathshell.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathstat.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
pathtemp.c libast: update /usr/tmp fallback to /var/tmp 2020-09-12 19:14:27 +02:00
pathtmp.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00