Use POSIX getline(3) rather than the non-standard and error-prone fgetln(3).
authorschwarze <schwarze@openbsd.org>
Sat, 4 Aug 2018 16:14:03 +0000 (16:14 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 4 Aug 2018 16:14:03 +0000 (16:14 +0000)
commit2e7cd69a72d5498b6c6098f8b322e1d68a217fa2
treebeddf69cd3fd833eac32b6c63f929e793bcdf8c9
parentce0ca44b639ef12f80eebecdfed6e017788289db
Use POSIX getline(3) rather than the non-standard and error-prone fgetln(3).
In part based on a diff from Lauri Tirkkonen <lotheac at iki dot fi>.
While here, significantly simplify sequential().
No objection when shown on tech@.
usr.bin/paste/paste.c