]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Nothing says that /var/log can't be not a directory but a symbolic link
authorMaxim Sobolev <sobomax@FreeBSD.org>
Sun, 4 Jul 2004 17:24:12 +0000 (17:24 +0000)
committerMaxim Sobolev <sobomax@FreeBSD.org>
Sun, 4 Jul 2004 17:24:12 +0000 (17:24 +0000)
commitea6902220d0df71540c6096a717b59f05c87cfe4
tree21eeb0f379e3675e0f981c044c5143ade90bc99e
parent15a66c21c0decae519b2229d46400c55b20b0cc8
Nothing says that /var/log can't be not a directory but a symbolic link
to a directory. Therefore, use stat(2) instead of lstat(2) to check if
/var/log exists.

MFC after: 7 days
usr.sbin/newsyslog/newsyslog.c