diff options
author | peter <peter@FreeBSD.org> | 1999-03-18 09:21:42 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-03-18 09:21:42 +0000 |
commit | 308b60f66831aa65a459a7b347ea6ca14b6e4799 (patch) | |
tree | 1b2cd3bad90a2dd8ccb449f73ddfb9e295c0737d /contrib/cvs/diff/normal.c | |
parent | 0c111e2b51cac7eead56494b30c5977e4ec9a8ea (diff) | |
download | FreeBSD-src-308b60f66831aa65a459a7b347ea6ca14b6e4799.zip FreeBSD-src-308b60f66831aa65a459a7b347ea6ca14b6e4799.tar.gz |
Import cvs-1.10 onto vendor branch. Merge to follow shortly.
Obtained from: cyclic.com
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 4d9e23c..75dae88 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) |