freebsd-skq/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 Silence some FORMAT_AUDIT warnings (one left) 2002-02-04 01:23:44 +00:00
ftpcmd.y Teach REST how to restart a file transfer after 2^31 bytes: now yylex() 2002-03-14 16:05:06 +00:00
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 Log wtmp according to an address family properly. 2002-01-28 14:50:07 +00:00
Makefile Remove a GCC-specific command-line option. We should be using WARNS=n 2002-06-28 10:36:14 +00:00
pathnames.h
popen.c o Eliminate __P 2002-02-03 15:53:02 +00:00