| 394 | } |
| 395 | |
| 396 | static inline int mtime_differs(STRUCT_STAT *stp, struct file_struct *file) |
| 397 | { |
| 398 | #ifdef ST_MTIME_NSEC |
| 399 | return !same_time(stp->st_mtime, stp->ST_MTIME_NSEC, file->modtime, F_MOD_NSEC_or_0(file)); |
| 400 | #else |
| 401 | return !same_time(stp->st_mtime, 0, file->modtime, 0); |
| 402 | #endif |
| 403 | } |
| 404 | |
| 405 | static inline int any_time_differs(stat_x *sxp, struct file_struct *file, UNUSED(const char *fname)) |
| 406 | { |
no test coverage detected