Date: Sat, 28 Feb 2009 15:53:36 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/nl nl.c Message-ID: <200902281553.n1SFrofM007927@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2009-02-28 15:53:36 UTC
FreeBSD src repository
Modified files:
usr.bin/nl nl.c
Log:
SVN rev 189168 on 2009-02-28 15:53:36Z by das
Use getline() instead of fgets(). This enables nl(1) to handle
arbitrarily long lines and embedded NULs. The new functionality is
nugatory, but adding it is a simple way to improve the exposure of
getline() in -CURRENT.
Revision Changes Path
1.12 +21 -26 src/usr.bin/nl/nl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902281553.n1SFrofM007927>
