diff options
author | 2005-10-08 20:39:49 +0000 | |
---|---|---|
committer | 2005-10-08 20:39:49 +0000 | |
commit | 206543eeae27eb5a8455fd35e27ac6090b939051 (patch) | |
tree | d8130844a601ae407b7d8d0e980c95d3b350c4e8 /usr.bin/cvs/diff.c | |
parent | Prevent information leak by using a random hunique value instead of (diff) | |
download | wireguard-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.c | 4 |
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) { |