summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-10-16 17:44:16 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-10-16 17:44:16 +0000
commit888e2808d2dc88765f897eb56e4e744a726799d5 (patch)
tree1cb51959b924c7c023b69d4ff158afdec1e9b995 /usr.bin/cvs
parent6d0354e9578ae582c44b1ded2da413e34e6991cc (diff)
fix the locks section in RCS files;
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/rcs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index e214d9cb5f8..2908a738fc5 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.90 2005/10/15 22:56:03 niallo Exp $ */
+/* $OpenBSD: rcs.c,v 1.91 2005/10/16 17:44:15 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -512,8 +512,6 @@ rcs_write(RCSFILE *rfp)
TAILQ_FOREACH(lkp, &(rfp->rf_locks), rl_list) {
rcsnum_tostr(lkp->rl_num, numbuf, sizeof(numbuf));
fprintf(fp, "\n\t%s:%s", lkp->rl_name, numbuf);
- if (lkp != TAILQ_LAST(&(rfp->rf_locks), rcs_llist))
- fprintf(fp, ";");
}
fprintf(fp, ";");