blob: d775bca264c8b3129812c58bc89387a856d29d1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ab,v 1.5 2002/12/05 16:45:21 is Exp $
--- unixos.c.orig Thu Feb 16 16:39:50 1995
+++ unixos.c
@@ -89,7 +90,11 @@
strcpy(buf, getenv("TMPDIR"));
}
else {
+#if defined(P_tmpdir)
+ strcpy(buf, P_tmpdir);
+#else
strcpy(buf, "/usr/tmp");
+#endif
}
strcat(buf, "/m-prts-");
p = getenv("USER");
|