summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-28 09:47:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-28 09:47:39 +0000
commit467805f64d7a080e68a367f1214528e260510eb2 (patch)
treee7cb231d03905ec6ec8057033021baf29a535550 /usr.bin
parent253ca9d9b0cf75736b43fdaef10da54c45e2aa3d (diff)
uniqify names more; s.k.stevens@ic.ac.uk
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sup/src/sup.h4
-rw-r--r--usr.bin/sup/src/supcmeat.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/sup/src/sup.h b/usr.bin/sup/src/sup.h
index e44d5d39059..33e26e7a531 100644
--- a/usr.bin/sup/src/sup.h
+++ b/usr.bin/sup/src/sup.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sup.h,v 1.3 1997/04/01 07:35:29 todd Exp $ */
+/* $OpenBSD: sup.h,v 1.4 1997/07/28 09:47:36 deraadt Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -115,7 +115,7 @@ extern char scmversion[]; /* string version of scm */
#define FILEBKDIR "%s/BACKUP"
#define FILEBACKUP "%s/BACKUP/%s"
#define FILELAST "sup/%s/last%s"
-#define FILELASTTEMP "sup/%s/last.temp"
+#define FILELASTTEMP "sup/%s/last.temp%s"
#define FILELOCK "sup/%s/lock" /* also supfilesrv */
#define FILEREFUSE "sup/%s/refuse"
#define FILEWHEN "sup/%s/when%s"
diff --git a/usr.bin/sup/src/supcmeat.c b/usr.bin/sup/src/supcmeat.c
index 550919b8c66..8701fec5f43 100644
--- a/usr.bin/sup/src/supcmeat.c
+++ b/usr.bin/sup/src/supcmeat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: supcmeat.c,v 1.5 1997/04/01 07:35:33 todd Exp $ */
+/* $OpenBSD: supcmeat.c,v 1.6 1997/07/28 09:47:38 deraadt Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -1311,7 +1311,7 @@ int x;
done (FDONESUCCESS,"Success");
(void) requestend ();
}
- (void) sprintf (tname,FILELASTTEMP,collname);
+ (void) sprintf (tname,FILELASTTEMP,collname,relsufix);
finishfile = fopen (tname,"w");
if (finishfile == NULL) {
notify ("SUP: Can't record list of all files in %s\n",tname);