summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/httpd.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2014-08-02 09:46:52 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2014-08-02 09:46:52 +0000
commite8c545b173de44be2eb6372a5d0d8c6fe1f5669d (patch)
treec3113c6a8eea3f3e7325595526eb29de7ee6bba6 /usr.sbin/httpd/httpd.c
parent27f3b55bdc8cf6288615febb7ea01eff8c1e071c (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