diff options
author | obrien <obrien@FreeBSD.org> | 2000-02-08 06:36:08 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-02-08 06:36:08 +0000 |
commit | bcb32823be5f02644ad81cf37952accd5b07a80f (patch) | |
tree | 52e5f8830570ebd7ccf85de3072d75c368cf546d /usr.bin | |
parent | 63ef3be5d669e165f90e2d89ee573360bf7bc754 (diff) | |
download | FreeBSD-src-bcb32823be5f02644ad81cf37952accd5b07a80f.zip FreeBSD-src-bcb32823be5f02644ad81cf37952accd5b07a80f.tar.gz |
Use lstat(2) rather than stat(2) in isdir(), so that a symlink to a
directory is not considered a directory. I have a feeling all the other
stat(2) calls should instead be lstat(2) calls, but I have not suffiently
determined that the current behavior [especially in isfile()] isn't
depended upon by someone.
Ok'ed by: JKH
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions