summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcs.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-06 14:45:51 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-06 14:45:51 +0000
commitf10c61f35e379bf20fbf4a44e79872d66a672d7a (patch)
treeec4018ef4cfffdb2a9a3fa2b0ea481246416543c /usr.bin/rcs/rcs.c
parent3c0cb34dc4c5ed4c9617cb461a27a1370727a7c7 (diff)
Branches are separated with \n\t in GNU rcs/cvs.
This makes regress tests easier to check with OpenCVS and GNU cvs. OK xsa@
Diffstat (limited to 'usr.bin/rcs/rcs.c')
-rw-r--r--usr.bin/rcs/rcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index 33e00d6b770..57d8d049267 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.43 2008/01/06 09:12:17 sturm Exp $ */
+/* $OpenBSD: rcs.c,v 1.44 2008/01/06 14:45:50 tobias Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -468,7 +468,7 @@ rcs_write(RCSFILE *rfp)
rdp->rd_author, rdp->rd_state);
fputs("branches", fp);
TAILQ_FOREACH(brp, &(rdp->rd_branches), rb_list) {
- fprintf(fp, " %s", rcsnum_tostr(brp->rb_num, numbuf,
+ fprintf(fp, "\n\t%s", rcsnum_tostr(brp->rb_num, numbuf,
sizeof(numbuf)));
}
fputs(";\n", fp);