freebsd-nq/libexec/ftpd
Yaroslav Tykhiy 737d08f31e 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
..
config.h
extern.h
ftpcmd.y
ftpd.8 The .Nm utility 2002-07-06 19:19:48 +00:00
ftpd.c Use fgetln(3) to read lines from configuration files (ftpusers, ftphosts.) 2002-07-12 15:51:15 +00:00
logwtmp.c
Makefile
pathnames.h
popen.c