commit fc727cc52868117245ac2e264b3caf6fb06282ae from: Stefan Sperling date: Tue Feb 05 10:16:33 2019 UTC insert at tail of list in insert_dirent() commit - f02ba292c92e97724d810282babcb71cafbed10b commit + fc727cc52868117245ac2e264b3caf6fb06282ae blob - 9923cab764ea6af6bd40df02195db5ae2d4241b1 blob + 49b86395ed04cc7cc8fdc01221790397b93c7057 --- lib/fileindex.c +++ lib/fileindex.c @@ -770,7 +770,7 @@ insert_dirent(struct dirlist_head *dirlist, struct dir if (prev) SIMPLEQ_INSERT_AFTER(dirlist, prev, dle, entry); else - SIMPLEQ_INSERT_HEAD(dirlist, dle, entry); + SIMPLEQ_INSERT_TAIL(dirlist, dle, entry); return NULL; }