| 3791 | { return dirfirst_check (a, b, rev_strcmp_##key_name); } |
| 3792 | |
| 3793 | static int |
| 3794 | cmp_ctime (struct fileinfo const *a, struct fileinfo const *b, |
| 3795 | int (*cmp) (char const *, char const *)) |
| 3796 | { |
| 3797 | int diff = timespec_cmp (get_stat_ctime (&b->stat), |
| 3798 | get_stat_ctime (&a->stat)); |
| 3799 | return diff ? diff : cmp (a->name, b->name); |
| 3800 | } |
| 3801 | |
| 3802 | static int |
| 3803 | cmp_mtime (struct fileinfo const *a, struct fileinfo const *b, |