artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3eb143
)
Use /tmp as opposed of /var/tmp as the default directory for temporary
author
anton
<anton@openbsd.org>
Thu, 10 Nov 2022 12:38:57 +0000
(12:38 +0000)
committer
anton
<anton@openbsd.org>
Thu, 10 Nov 2022 12:38:57 +0000
(12:38 +0000)
files.
regress/lib/libc/db/dbtest.c
patch
|
blob
|
history
diff --git
a/regress/lib/libc/db/dbtest.c
b/regress/lib/libc/db/dbtest.c
index
a337551
..
fd1d2e8
100644
(file)
--- 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);