diff options
author | sobomax <sobomax@FreeBSD.org> | 2004-07-04 17:24:12 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2004-07-04 17:24:12 +0000 |
commit | bee9cba70cb678cdd927bc761766011085e3d20c (patch) | |
tree | 21eeb0f379e3675e0f981c044c5143ade90bc99e /lib/libc/stdio/getchar.c | |
parent | 6190bf9bc443171837211153171aa7106a2f1462 (diff) | |
download | FreeBSD-src-bee9cba70cb678cdd927bc761766011085e3d20c.zip FreeBSD-src-bee9cba70cb678cdd927bc761766011085e3d20c.tar.gz |
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
Diffstat (limited to 'lib/libc/stdio/getchar.c')
0 files changed, 0 insertions, 0 deletions