diff options
author | 2007-01-19 23:23:21 +0000 | |
---|---|---|
committer | 2007-01-19 23:23:21 +0000 | |
commit | 7f096833542ff1e855c80c48e4c58c94e0dc2ac9 (patch) | |
tree | 85e78f20b83e11f47dd0cbda564251f932af77c3 /usr.bin/cvs/diff.c | |
parent | add an EXAMPLES section; (diff) | |
download | wireguard-openbsd-7f096833542ff1e855c80c48e4c58c94e0dc2ac9.tar.xz wireguard-openbsd-7f096833542ff1e855c80c48e4c58c94e0dc2ac9.zip |
When we hit a DT_UNKNOWN for dirent->d_type in our filelist functions,
stat() the filepath to get the correct type, and therefor
add it to the appropriate list.
This fixes opencvs with CVSROOTs on NFS and AFS, because they
both return D_UNKNOWN for directories (afs even for files too)
in dirent->d_type.
problem found by thib@ and todd@
tested by thib@, todd@,
ok niallo@
Diffstat (limited to 'usr.bin/cvs/diff.c')
0 files changed, 0 insertions, 0 deletions