| 3800 | } |
| 3801 | |
| 3802 | static int |
| 3803 | cmp_mtime (struct fileinfo const *a, struct fileinfo const *b, |
| 3804 | int (*cmp) (char const *, char const *)) |
| 3805 | { |
| 3806 | int diff = timespec_cmp (get_stat_mtime (&b->stat), |
| 3807 | get_stat_mtime (&a->stat)); |
| 3808 | return diff ? diff : cmp (a->name, b->name); |
| 3809 | } |
| 3810 | |
| 3811 | static int |
| 3812 | cmp_atime (struct fileinfo const *a, struct fileinfo const *b, |