From: anton Date: Thu, 10 Nov 2022 12:38:57 +0000 (+0000) Subject: Use /tmp as opposed of /var/tmp as the default directory for temporary X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a1465ea10fc41479aa818f339d94b135c4008280;p=openbsd Use /tmp as opposed of /var/tmp as the default directory for temporary files. --- diff --git a/regress/lib/libc/db/dbtest.c b/regress/lib/libc/db/dbtest.c index a3375511b06..fd1d2e80771 100644 --- a/regress/lib/libc/db/dbtest.c +++ b/regress/lib/libc/db/dbtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dbtest.c,v 1.19 2021/12/13 16:56:48 deraadt Exp $ */ +/* $OpenBSD: dbtest.c,v 1.20 2022/11/10 12:38:57 anton Exp $ */ /* $NetBSD: dbtest.c,v 1.8 1996/05/03 21:57:48 cgd Exp $ */ /*- @@ -140,7 +140,7 @@ main(int argc, char *argv[]) if (fname == NULL) { p = getenv("TMPDIR"); if (p == NULL) - p = "/var/tmp"; + p = "/tmp"; (void)snprintf(buf, sizeof buf, "%s/__dbtest", p); fname = buf; (void)unlink(buf);