summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2008-01-31 10:17:47 +0000
committertobias <tobias@openbsd.org>2008-01-31 10:17:47 +0000
commitbb3d3fd39ab28ac6c2ff3f7e1028368d6ddef18c (patch)
tree82c0921075581647523c06c90f142df9005aa611 /usr.bin/cvs
parentReplaced the unused cvs_command variable cmd_req with cmd_flags, which states (diff)
downloadwireguard-openbsd-bb3d3fd39ab28ac6c2ff3f7e1028368d6ddef18c.tar.xz
wireguard-openbsd-bb3d3fd39ab28ac6c2ff3f7e1028368d6ddef18c.zip
Our directory entries in CVS/Entries had one slash too much -- zapped.
OK xsa@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/add.c6
-rw-r--r--usr.bin/cvs/util.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c
index 18b0fd68b87..81fefeee44b 100644
--- a/usr.bin/cvs/add.c
+++ b/usr.bin/cvs/add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: add.c,v 1.88 2008/01/31 10:15:05 tobias Exp $ */
+/* $OpenBSD: add.c,v 1.89 2008/01/31 10:17:47 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -128,7 +128,7 @@ cvs_add_entry(struct cvs_file *cf)
if (cf->file_type == CVS_DIR) {
(void)xsnprintf(entry, CVS_ENT_MAXLINELEN,
- "D/%s/////", cf->file_name);
+ "D/%s////", cf->file_name);
entlist = cvs_ent_open(cf->file_wd);
cvs_ent_add(entlist, entry);
@@ -243,7 +243,7 @@ add_directory(struct cvs_file *cf)
p = xmalloc(CVS_ENT_MAXLINELEN);
(void)xsnprintf(p, CVS_ENT_MAXLINELEN,
- "D/%s/////", cf->file_name);
+ "D/%s////", cf->file_name);
entlist = cvs_ent_open(cf->file_wd);
cvs_ent_add(entlist, p);
cvs_ent_close(entlist, ENT_SYNC);
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c
index e5d76a25b2f..f0690b8052c 100644
--- a/usr.bin/cvs/util.c
+++ b/usr.bin/cvs/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.125 2008/01/21 16:36:46 tobias Exp $ */
+/* $OpenBSD: util.c,v 1.126 2008/01/31 10:17:47 tobias Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
@@ -627,7 +627,7 @@ cvs_mkpath(const char *path, char *tag)
if ((p = strchr(dp, '/')) != NULL)
*p = '\0';
ent = cvs_ent_open(rpath);
- xsnprintf(entry, sizeof(entry), "D/%s/////", dp);
+ xsnprintf(entry, sizeof(entry), "D/%s////", dp);
cvs_ent_add(ent, entry);
cvs_ent_close(ent, ENT_SYNC);
if (p != NULL)