freebsd-dev/usr.bin/sed
Pedro F. Giffuni 1a2a4fc8ce sed: use getline() instead of fgetln().
In BSD, fgetln() available in libc but in Illumos the Solaris port had to
include it internally. It also seems to have caused problems [1].

Aid portability by using getline() instead.

Reference:
https://www.illumos.org/issues/3820 [1]

Submitted by:	Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com>
Reviewed by:	dds
MFC after:	2 weeks
2013-06-26 04:14:19 +00:00
..
compile.c IEEE Std 1003.1, 2004 Edition states: 2009-09-20 15:47:31 +00:00
defs.h Implement "addr1,+N" ranges - not dissimilar to grep's -A switch. 2009-05-25 06:45:33 +00:00
extern.h Don't forget to clear out the hold space for each subsequent file 2007-06-12 12:05:24 +00:00
main.c sed: use getline() instead of fgetln(). 2013-06-26 04:14:19 +00:00
Makefile Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
misc.c Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
POSIX
process.c Implement "addr1,+N" ranges - not dissimilar to grep's -A switch. 2009-05-25 06:45:33 +00:00
sed.1 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00