From 0008866e589b5dd29f5332c9bc0e208ba10a7772 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 18 Mar 1999 09:21:42 +0000 Subject: Import cvs-1.10 onto vendor branch. Merge to follow shortly. Obtained from: cyclic.com --- contrib/cvs/diff/normal.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/cvs/diff/normal.c') diff --git a/contrib/cvs/diff/normal.c b/contrib/cvs/diff/normal.c index 4d9e23cb72a0c..75dae8899309e 100644 --- a/contrib/cvs/diff/normal.c +++ b/contrib/cvs/diff/normal.c @@ -1,5 +1,5 @@ /* Normal-format output routines for GNU DIFF. - Copyright (C) 1988, 1989, 1993 Free Software Foundation, Inc. + Copyright (C) 1988, 1989, 1993, 1998 Free Software Foundation, Inc. This file is part of GNU DIFF. @@ -52,9 +52,9 @@ print_normal_hunk (hunk) /* Print out the line number header for this hunk */ print_number_range (',', &files[0], first0, last0); - fprintf (outfile, "%c", change_letter (inserts, deletes)); + printf_output ("%c", change_letter (inserts, deletes)); print_number_range (',', &files[1], first1, last1); - fprintf (outfile, "\n"); + printf_output ("\n"); /* Print the lines that the first file has. */ if (deletes) @@ -62,7 +62,7 @@ print_normal_hunk (hunk) print_1_line ("<", &files[0].linbuf[i]); if (inserts && deletes) - fprintf (outfile, "---\n"); + printf_output ("---\n"); /* Print the lines that the second file has. */ if (inserts) -- cgit v1.2.3