diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-02 09:46:52 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-02 09:46:52 +0000 |
commit | e8c545b173de44be2eb6372a5d0d8c6fe1f5669d (patch) | |
tree | c3113c6a8eea3f3e7325595526eb29de7ee6bba6 /usr.sbin/httpd/httpd.c | |
parent | 27f3b55bdc8cf6288615febb7ea01eff8c1e071c (diff) |
scandir(3)-based directory auto index didn't work on NFS because the
file system is not filling in d_type properly. Using st_mode from the
stat call fixes the problem, eg. S_ISDIR(st.st_mode) instead of
dp->d_type == DT_DIR. Pointed out by pelikan@
Diffstat (limited to 'usr.sbin/httpd/httpd.c')
0 files changed, 0 insertions, 0 deletions