]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r250545:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 May 2013 21:08:23 +0000 (21:08 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 May 2013 21:08:23 +0000 (21:08 +0000)
commitad2d3f951812ff737354328309f0639bd9f11e55
treedbfe5a4977b9538c6dd5616b2eff33c356fc7f75
parent920c3bd8140fc18120454e72b152a46363477b79
MFC r250545:
  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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@251111 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/newsyslog/newsyslog.c