[#] http://marc.info/?l=openbsd-cvs&m=140697283709946&w=2
openbsd-cvs(obsdave,2) — All
2014-08-02 13:55:08


Module name: src
Changes by: reyk@cvs.openbsd.org 2014/08/02 03:46:51

Modified files:
usr.sbin/httpd : server_file.c

Log message:
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@