From 7caaa0896cb873f6ac7b2fc3f26c26524512d601 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sat, 8 Oct 2005 20:39:50 +0000 Subject: add missing newline, fixes D_NORMAL diff output; ok niallo@ --- usr.bin/cvs/diff.c | 4 ++-- 1 file 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) { -- cgit v1.2.3