diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-03 05:31:39 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-03 05:31:39 +0000 |
commit | 3343cae317106f22781b1b46caca01f140e70e2a (patch) | |
tree | 52a1eb669d5ca5151a76ed1466097c079916e6ef /lib/libc/stdio/tmpfile.c | |
parent | bdd1857e258311e7cc175530b0627c87702ae0ba (diff) |
10 X's for mktemp() and mkstemp().
Diffstat (limited to 'lib/libc/stdio/tmpfile.c')
-rw-r--r-- | lib/libc/stdio/tmpfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/tmpfile.c b/lib/libc/stdio/tmpfile.c index 5f558efee99..265ed26b2d8 100644 --- a/lib/libc/stdio/tmpfile.c +++ b/lib/libc/stdio/tmpfile.c @@ -35,7 +35,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: tmpfile.c,v 1.3 1997/02/12 20:44:49 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: tmpfile.c,v 1.4 1997/04/03 05:31:38 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -52,7 +52,7 @@ tmpfile() sigset_t set, oset; FILE *fp; int fd, sverrno; -#define TRAILER "tmp.XXXXXXXXX" +#define TRAILER "tmp.XXXXXXXXXX" char buf[sizeof(_PATH_TMP) + sizeof(TRAILER)]; (void)memcpy(buf, _PATH_TMP, sizeof(_PATH_TMP) - 1); |