diff options
author | markj <markj@FreeBSD.org> | 2013-05-12 01:58:04 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2013-05-12 01:58:04 +0000 |
commit | dbafd2120ecdd8ad26f05193bfb3f6604453df7d (patch) | |
tree | 65a36c690150bd8f6608f856fbc4c902d4686b50 /contrib/gcc | |
parent | cec511ab6555f8d191878ce5f90a56e67345ff26 (diff) | |
download | FreeBSD-src-dbafd2120ecdd8ad26f05193bfb3f6604453df7d.zip FreeBSD-src-dbafd2120ecdd8ad26f05193bfb3f6604453df7d.tar.gz |
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
Diffstat (limited to 'contrib/gcc')
0 files changed, 0 insertions, 0 deletions