summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2005-10-08 20:39:49 +0000
committerjoris <joris@openbsd.org>2005-10-08 20:39:49 +0000
commit206543eeae27eb5a8455fd35e27ac6090b939051 (patch)
treed8130844a601ae407b7d8d0e980c95d3b350c4e8 /usr.bin/cvs/diff.c
parentPrevent information leak by using a random hunique value instead of (diff)
downloadwireguard-openbsd-206543eeae27eb5a8455fd35e27ac6090b939051.tar.xz
wireguard-openbsd-206543eeae27eb5a8455fd35e27ac6090b939051.zip
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) {