diff options
| author | mycroft <mycroft@NetBSD.org> | 1998-07-26 14:05:20 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1998-07-26 14:05:20 +0000 |
| commit | ea09e5f2d43afd7dbf3ecc3d85973a9f2443c8ec (patch) | |
| tree | 141c89b32e19ccdc537ae2e79481e779369fb3df /lib | |
| parent | ad96894bb947942adfeb3c489ff5f918aec6a645 (diff) | |
Reinitialize the mkstemp() template each time it's used.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/db/hash/hash_page.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/db/hash/hash_page.c b/lib/libc/db/hash/hash_page.c index 4d2454ba595..c9aa9e75b86 100644 --- a/lib/libc/db/hash/hash_page.c +++ b/lib/libc/db/hash/hash_page.c @@ -1,4 +1,4 @@ -/* $NetBSD: hash_page.c,v 1.10 1998/06/30 21:30:52 thorpej Exp $ */ +/* $NetBSD: hash_page.c,v 1.11 1998/07/26 14:05:20 mycroft Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)hash_page.c 8.7 (Berkeley) 8/16/94"; #else -__RCSID("$NetBSD: hash_page.c,v 1.10 1998/06/30 21:30:52 thorpej Exp $"); +__RCSID("$NetBSD: hash_page.c,v 1.11 1998/07/26 14:05:20 mycroft Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -865,7 +865,7 @@ open_temp(hashp) HTAB *hashp; { sigset_t set, oset; - static char namestr[] = "_hashXXXXXX"; + char namestr[] = "_hashXXXXXX"; /* Block signals; make sure file goes away at process exit. */ (void)sigfillset(&set); |
