summaryrefslogtreecommitdiff
path: root/contrib/diff
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2000-07-25 00:30:14 +0000
committerBrian Feldman <green@FreeBSD.org>2000-07-25 00:30:14 +0000
commite78a248db5293d3e0476ca0b6efda84428c2288e (patch)
tree74d366cf481b15686f0938ede1d5666f6571c9e3 /contrib/diff
parent50d2a89e371f41c1ee8f1162d840539694d3c511 (diff)
Notes
Diffstat (limited to 'contrib/diff')
-rw-r--r--contrib/diff/util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/diff/util.c b/contrib/diff/util.c
index 07b24a760e47..3cd3f91fc4e0 100644
--- a/contrib/diff/util.c
+++ b/contrib/diff/util.c
@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
along with GNU DIFF; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+/* $FreeBSD$ */
+
#include "diff.h"
#ifndef PR_PROGRAM
@@ -481,9 +483,6 @@ print_1_line (line_flag, line)
}
output_1_line (text, limit, flag_format, line_flag);
-
- if ((!line_flag || line_flag[0]) && limit[-1] != '\n')
- fprintf (out, "\n\\ No newline at end of file\n");
}
/* Output a line from TEXT up to LIMIT. Without -t, output verbatim.