summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-02-08 06:36:08 +0000
committerobrien <obrien@FreeBSD.org>2000-02-08 06:36:08 +0000
commitbcb32823be5f02644ad81cf37952accd5b07a80f (patch)
tree52e5f8830570ebd7ccf85de3072d75c368cf546d /include
parent63ef3be5d669e165f90e2d89ee573360bf7bc754 (diff)
downloadFreeBSD-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 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud