public
/
Apout.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7132c
)
Move the temporary directory base from /usr/tmp to /tmp
author
Adrian Pistol
<vifino@tty.sh>
Mon, 31 Oct 2016 03:05:00 +0000
(
04:05
+0100)
committer
Adrian Pistol
<vifino@tty.sh>
Mon, 31 Oct 2016 03:05:00 +0000
(
04:05
+0100)
On many modern systems, /usr/tmp may not exist. However, /tmp almost always does.
defines.h
patch
|
blob
|
history
diff --git
a/defines.h
b/defines.h
index
1f27603
..
0d04f95
100644
(file)
--- a/
defines.h
+++ b/
defines.h
@@
-113,7
+113,7
@@
typedef unsigned long u_int32_t;
#define NFILE 40 /* Number of file pointers we can buffer */
#define ValidFD(x) ((x>=0) && (x<NFILE))
/* Used for opening on directories */
-#define TMP_PLATE "/
usr/tmp/apout
_dir.XXXXXX"
+#define TMP_PLATE "/
tmp/apout_tmp
_dir.XXXXXX"
/* Set up prototype macro for