yar eba11c79d0 Use fgetln(3) to read lines from configuration files (ftpusers, ftphosts.)
Thus lines of any length can be handled, unlike before.

Don't assume that each line read from the files ends with a newline.

As a side effect in inithosts(), don't use automatic buffer at all,
utilize malloc(3) when getting local host name instead.

PR:		misc/21494
Reviewed by:	maxim, mikeh
MFC after:	1 month
2002-07-12 15:51:15 +00:00
..
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-02-06 16:38:40 +00:00
2002-07-06 19:19:48 +00:00
2002-05-13 15:21:51 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2001-04-07 11:21:35 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-02-27 18:37:21 +00:00