From: millert Date: Sat, 4 Mar 2000 17:16:02 +0000 (+0000) Subject: Make P_tmpdir point to /tmp/ not /var/tmp X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5eac0c951893491d6b4d6ca5c3f595b14e89818d;p=openbsd Make P_tmpdir point to /tmp/ not /var/tmp Really, there should be a way to make configurable by the admin at runtime (say, a gettmpdir() function). --- diff --git a/include/stdio.h b/include/stdio.h index e0508031ce5..f258dbaa31c 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdio.h,v 1.13 2000/02/22 17:29:12 millert Exp $ */ +/* $OpenBSD: stdio.h,v 1.14 2000/03/04 17:16:02 millert Exp $ */ /* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */ /*- @@ -187,7 +187,7 @@ __END_DECLS /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ #ifndef _ANSI_SOURCE -#define P_tmpdir "/var/tmp/" +#define P_tmpdir "/tmp/" #endif #define L_tmpnam 1024 /* XXX must be == PATH_MAX */ #define TMP_MAX 308915776