freebsd-skq/usr.bin/sed
pfg 4772ec77e6 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
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