Subject: CVS commit: src/usr.bin/cut
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 03/22/2005 21:56:28
Module Name:	src
Committed By:	yamt
Date:		Tue Mar 22 21:56:28 UTC 2005

Modified Files:
	src/usr.bin/cut: cut.c

Log Message:
a fix from openbsd.
XXX is it better to output a newline?

> revision 1.7
> date: 2000/06/04 23:52:19;  author: aaron;  state: Exp;  lines: +30 -14
> Handle the case where the last line of input does not contain a newline; issue
> reported by The main thing here is we use fgetln() instead of
> fgets(), also giving us the advantage of being able to handle lines of
> unlimited length. Some -Wall and other fixes from millert@ as well.

To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/usr.bin/cut/cut.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.