-/* $OpenBSD: df.c,v 1.7 1996/12/24 20:04:14 deraadt Exp $ */
+/* $OpenBSD: df.c,v 1.8 1997/04/04 18:41:25 deraadt Exp $ */
/* $NetBSD: df.c,v 1.21.2.1 1995/11/01 00:06:11 jtc Exp $ */
/*
#if 0
static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: df.c,v 1.7 1996/12/24 20:04:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: df.c,v 1.8 1997/04/04 18:41:25 deraadt Exp $";
#endif
#endif /* not lint */
} else if (S_ISBLK(stbuf.st_mode)) {
if ((mntpt = getmntpt(*argv)) == 0) {
/* XXX can be DOS'd, not very important */
- mntpt = mktemp(strdup("/tmp/df.XXXXXX"));
+ mntpt = mktemp(strdup("/tmp/df.XXXXXXXXXX"));
mdev.fspec = *argv;
if (mkdir(mntpt, DEFFILEMODE) != 0) {
warn("%s", mntpt);
#ifndef lint
/*static char sccsid[] = "from: @(#)mail.local.c 5.6 (Berkeley) 6/19/91";*/
-static char rcsid[] = "$Id: mail.local.c,v 1.14 1997/03/29 02:59:56 millert Exp $";
+static char rcsid[] = "$Id: mail.local.c,v 1.15 1997/04/04 18:41:27 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
if (unlink(path) == 0)
return;
- snprintf(npath, sizeof npath, "%s/XXXXXXXXX", _PATH_MAILDIR);
+ snprintf(npath, sizeof npath, "%s/mailXXXXXXXXXX", _PATH_MAILDIR);
if (mktemp(npath) == NULL)
return;
if (rename(path, npath) != -1)
-/* $OpenBSD: pathnames.h,v 1.3 1996/08/22 00:35:02 deraadt Exp $ */
+/* $OpenBSD: pathnames.h,v 1.4 1997/04/04 18:41:29 deraadt Exp $ */
/* $NetBSD: pathnames.h,v 1.6 1995/09/29 00:27:55 cgd Exp $ */
/*
#endif
#if defined(unix) || defined(__NetBSD__) || defined(__OpenBSD__)
-#define _PATH_DIVNAME "/tmp/m4.0XXXXXX" /* unix diversion files */
+#define _PATH_DIVNAME "/tmp/m4.0XXXXXXXXXX" /* unix diversion files */
#define UNIQUE 8 /* unique char location */
#endif
-/* $OpenBSD: main.c,v 1.6 1996/09/16 16:38:28 millert Exp $ */
+/* $OpenBSD: main.c,v 1.7 1997/04/04 18:41:31 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
#ifndef lint
/* from: static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/9/93"; */
-static char *rcsid = "$OpenBSD: main.c,v 1.6 1996/09/16 16:38:28 millert Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.7 1997/04/04 18:41:31 deraadt Exp $";
#endif /* not lint */
#include "defs.h"
*/
char *distfile = NULL;
-#define _RDIST_TMP "rdistXXXXXX"
+#define _RDIST_TMP "rdistXXXXXXXXXX"
char tempfile[sizeof _PATH_TMP + sizeof _RDIST_TMP + 1];
char *tempname;
-/* $OpenBSD: system.c,v 1.3 1996/12/06 02:09:04 deraadt Exp $ */
+/* $OpenBSD: system.c,v 1.4 1997/04/04 18:41:33 deraadt Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
#ifndef lint
/*static char sccsid[] = "from: @(#)system.c 4.5 (Berkeley) 4/26/91";*/
-static char rcsid[] = "$OpenBSD: system.c,v 1.3 1996/12/06 02:09:04 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: system.c,v 1.4 1997/04/04 18:41:33 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
/* First, create verification file. */
do {
- keyname = mktemp(strdup("/tmp/apiXXXXXX"));
+ keyname = mktemp(strdup("/tmp/apiXXXXXXXXXX"));
fd = open(keyname, O_RDWR|O_CREAT|O_EXCL, IREAD|IWRITE);
} while ((fd == -1) && (errno == EEXIST));
-/* $OpenBSD: xlint.c,v 1.4 1996/11/13 17:43:48 michaels Exp $ */
+/* $OpenBSD: xlint.c,v 1.5 1997/04/04 18:41:36 deraadt Exp $ */
/* $NetBSD: xlint.c,v 1.3 1995/10/23 14:29:30 jpo Exp $ */
/*
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: xlint.c,v 1.4 1996/11/13 17:43:48 michaels Exp $";
+static char rcsid[] = "$OpenBSD: xlint.c,v 1.5 1997/04/04 18:41:36 deraadt Exp $";
#endif
#include <sys/param.h>
tmpdir = s;
}
- cppout = xmalloc(strlen(tmpdir) + sizeof ("lint0.XXXXXX"));
- (void)sprintf(cppout, "%slint0.XXXXXX", tmpdir);
+ cppout = xmalloc(strlen(tmpdir) + sizeof ("lint0.XXXXXXXXXX"));
+ (void)sprintf(cppout, "%slint0.XXXXXXXXXX", tmpdir);
if (mktemp(cppout) == NULL) {
warn("can't make temp");
terminate(-1);
(void)sprintf(ofn, "%.*s", (int)len, bn);
(void)strcat(ofn, ".ln");
} else {
- ofn = xmalloc(strlen(tmpdir) + sizeof ("lint1.XXXXXX"));
- (void)sprintf(ofn, "%slint1.XXXXXX", tmpdir);
+ ofn = xmalloc(strlen(tmpdir) + sizeof ("lint1.XXXXXXXXXX"));
+ (void)sprintf(ofn, "%slint1.XXXXXXXXXX", tmpdir);
if (mktemp(ofn) == NULL) {
warn("can't make temp");
terminate(-1);
-/* $OpenBSD: main.c,v 1.6 1997/01/14 04:47:08 tholo Exp $ */
+/* $OpenBSD: main.c,v 1.7 1997/04/04 18:41:38 deraadt Exp $ */
/* $NetBSD: main.c,v 1.5 1996/03/19 03:21:38 jtc Exp $ */
/*
#if 0
static char sccsid[] = "@(#)main.c 5.5 (Berkeley) 5/24/93";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.6 1997/01/14 04:47:08 tholo Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.7 1997/04/04 18:41:38 deraadt Exp $";
#endif
#endif /* not lint */
char *symbol_prefix;
char *file_prefix = "y";
char *myname = "yacc";
-char *temp_form = "yacc.XXXXXXX";
+char *temp_form = "yacc.XXXXXXXXXX";
int lineno;
int outline;
* SUCH DAMAGE.
*
* from: @(#)mk-amd-map.c 8.1 (Berkeley) 6/28/93
- * $Id: mk-amd-map.c,v 1.2 1997/01/15 23:43:48 millert Exp $
+ * $Id: mk-amd-map.c,v 1.3 1997/04/04 18:41:42 deraadt Exp $
*/
/*
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$Id: mk-amd-map.c,v 1.2 1997/01/15 23:43:48 millert Exp $";
+static char rcsid[] = "$Id: mk-amd-map.c,v 1.3 1997/04/04 18:41:42 deraadt Exp $";
static char sccsid[] = "@(#)mk-amd-map.c 8.1 (Berkeley) 6/28/93";
#endif /* not lint */
char *map;
int rc = 0;
DBM *mapd;
- static char maptmp[] = "dbmXXXXXX";
+ static char maptmp[] = "dbmXXXXXXXXXX";
char maptpag[16];
char *mappag;
#ifndef USING_DB
-/* $OpenBSD: printjob.c,v 1.10 1996/11/03 23:24:10 millert Exp $ */
+/* $OpenBSD: printjob.c,v 1.11 1997/04/04 18:41:44 deraadt Exp $ */
/* $NetBSD: printjob.c,v 1.9.4.3 1996/07/12 22:31:39 jtc Exp $ */
/*
static char logname[32]; /* user's login name */
static char pxlength[10] = "-y"; /* page length in pixels */
static char pxwidth[10] = "-x"; /* page width in pixels */
-static char tempfile[] = "errsXXXXXX"; /* file name for filter output */
+static char tempfile[] = "errsXXXXXXXXXX"; /* file name for filter output */
static char width[10] = "-w"; /* page width in static characters */
static void abortpr __P((int));
-/* $OpenBSD: makedbm.c,v 1.6 1997/01/17 07:14:32 millert Exp $ */
+/* $OpenBSD: makedbm.c,v 1.7 1997/04/04 18:41:46 deraadt Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: makedbm.c,v 1.6 1997/01/17 07:14:32 millert Exp $";
+static char rcsid[] = "$OpenBSD: makedbm.c,v 1.7 1997/04/04 18:41:46 deraadt Exp $";
#endif
#include <stdio.h>
char *p,*k,*v;
char *slash;
DBM *new_db;
- static char mapname[] = "ypdbXXXXXX";
+ static char mapname[] = "ypdbXXXXXXXXXX";
char db_mapname[MAXPATHLEN],db_outfile[MAXPATHLEN],
db_tempname[MAXPATHLEN];
char empty_str[] = "";