$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");