Parent Directory
|
Revision Log
|
Patch
| Revision 2570 | Revision 2571 | ||
|---|---|---|---|
| … | … | ||
| 512 | } | 512 | } |
| 513 | 513 | ||
| 514 | static bool is_newer_than (const char *file, const char *target) | 514 | static bool is_newer_than (const char *file, const char *target) |
| 515 | { | 515 | { |
| 516 | struct stat buf; | 516 | struct stat buf; |
| 517 | int mtime; | 517 | time_t mtime; |
| 518 | 518 | ||
| 519 | if (stat (file, &buf) != 0 || buf.st_size == 0) | 519 | if (stat (file, &buf) != 0 || buf.st_size == 0) |
| 520 | return (false); | 520 | return (false); |
| 521 | mtime = buf.st_mtime; | 521 | mtime = buf.st_mtime; |
| 522 | 522 | ||
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.20 |