diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-03-18 09:21:42 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-03-18 09:21:42 +0000 |
commit | 0008866e589b5dd29f5332c9bc0e208ba10a7772 (patch) | |
tree | 1b2cd3bad90a2dd8ccb449f73ddfb9e295c0737d /contrib/cvs/diff/normal.c | |
parent | 4b06c8929116f104d337c272761ff7d11f8e48e6 (diff) |
Notes
Diffstat (limited to 'contrib/cvs/diff/normal.c')
-rw-r--r-- | contrib/cvs/diff/normal.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) |