summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-10-08 20:39:50 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-10-08 20:39:50 +0000
commit7caaa0896cb873f6ac7b2fc3f26c26524512d601 (patch)
tree2d47ebcf58b51a45536cfeda6251ab16a2730c32 /usr.bin/cvs/diff.c
parent8f804cf649f80a143526c198b9fd21a244c55d12 (diff)
add missing newline, fixes D_NORMAL diff output;
ok niallo@
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index a7cfa514093..1b0edf0ee1a 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.59 2005/10/08 00:49:18 joris Exp $ */
+/* $OpenBSD: diff.c,v 1.60 2005/10/08 20:39:49 joris Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -1425,7 +1425,7 @@ proceed:
if (diff_format == D_NORMAL || diff_format == D_IFDEF) {
fetch(ixold, a, b, f1, '<', 1);
if (a <= b && c <= d && diff_format == D_NORMAL)
- diff_output("---");
+ diff_output("---\n");
}
i = fetch(ixnew, c, d, f2, diff_format == D_NORMAL ? '>' : '\0', 0);
if (inifdef) {