aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-fgetln.c
Commit message (Collapse)AuthorAgeFilesLines
* Modernization, no functional change intended:Ingo Schwarze2015-11-071-11/+0
| | | | | | Use the POSIX function getline(3) rather than the slightly dangerous BSD function fgetln(3). Remove the related compatibility code.
* modernize style: "return" is not a functionIngo Schwarze2015-10-061-1/+1
|
* Clean up feature tests:Ingo Schwarze2014-01-041-4/+4
| | | | | | * Split the configure steering script out of the Makefile. * Let the configure step depend on the test sources. * Clean up the test programs such that they can be run.
* Compatibility support fgetln() on Linux. This uses the BSD-licensedKristaps Dzonsons2011-12-131-0/+11
implementation from NetBSD tnftpd, Christos Zoulas (copyright message retained in the compat_fgetln.c file). Patch verified by schwarze@. He notes that you'll need -pthread for -static binaries (due to libdb), so I've noted that -static should really only be used for BSD UNIX. While here, add some forgotten goop to the Makefile, building and cleaning extra manpages.