+
+/* we'll want to restore the memcpy when we purge the
+ * hlink list after the sort.
+ * memcpy(hlink_list, flist->files, sizeof(hlink_list[0]) * flist->count);
+ */
+ hlink_count = 0;
+ for (i = 0; i < flist->count; i++) {
+ if (S_ISREG(flist->files[i]->mode))
+ hlink_list[hlink_count++] = flist->files[i];
+ }