Return the modification time of FILENAME. If unsuccessful, return an invalid timestamp that is less than all valid timestamps. */
| 172 | If unsuccessful, return an invalid timestamp that is less |
| 173 | than all valid timestamps. */ |
| 174 | static struct timespec |
| 175 | get_mtime (char const *filename) |
| 176 | { |
| 177 | struct stat finfo; |
| 178 | return (stat (filename, &finfo) < 0 |
| 179 | ? make_timespec (TYPE_MINIMUM (time_t), -1) |
| 180 | : get_stat_mtime (&finfo)); |
| 181 | } |
| 182 | |
| 183 | /* Return the type of S, one of the test command's binary operators. |
| 184 | If S is not a binary operator, return -1. */ |