diff options
Diffstat (limited to 'bin/ed')
-rw-r--r-- | bin/ed/buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ed/buf.c b/bin/ed/buf.c index 6f170c575df..878c89423ff 100644 --- a/bin/ed/buf.c +++ b/bin/ed/buf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.c,v 1.8 1998/04/30 05:55:04 deraadt Exp $ */ +/* $OpenBSD: buf.c,v 1.9 1998/07/03 06:01:17 deraadt Exp $ */ /* $NetBSD: buf.c,v 1.15 1995/04/23 10:07:28 cgd Exp $ */ /* buf.c: This file contains the scratch-file buffer rountines for the @@ -33,7 +33,7 @@ #if 0 static char *rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp"; #else -static char rcsid[] = "$OpenBSD: buf.c,v 1.8 1998/04/30 05:55:04 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: buf.c,v 1.9 1998/07/03 06:01:17 deraadt Exp $"; #endif #endif /* not lint */ @@ -208,7 +208,7 @@ open_sbuf() int fd = -1; isbinary = newline_added = 0; - strcpy(sfn, "/tmp/ed.XXXXXX"); + strcpy(sfn, "/tmp/ed.XXXXXXXXXX"); if ((fd = mkstemp(sfn)) == -1 || (sfp = fdopen(fd, "w+")) == NULL) { if (fd != -1) |