tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libexec/httpd and unsorted directory index



httpd(8) provides -X for generating index.

src/libexec/httpd/dir-index-bozo.c uses opendir/readdir with no sorting.

Looking at long index like under the /pub/pkgsrc/... directories is a 
little difficult because entries are not sorted alphabetically nor by 
modification time.

Should it use glob or scandir with alphasort or other?



Home | Main Index | Thread Index | Old Index