freebsd-nq/usr.sbin/newsyslog
Mark Johnston 3cc26586e6 Some filesystems (NFS in particular) do not fill out the d_type field when
returning directory entries through readdir(3). In this case we need to
obtain the file type ourselves; otherwise newsyslog -t will not be able to
find archived log files and will fail to both delete old log files and to
do interval-based rotations properly.

Reported by:	jilles
Reviewed by:	jilles
MFC after:	2 weeks
2013-05-12 01:58:04 +00:00
..
extern.h
Makefile
newsyslog.8
newsyslog.c Some filesystems (NFS in particular) do not fill out the d_type field when 2013-05-12 01:58:04 +00:00
newsyslog.conf.5
pathnames.h
ptimes.c