diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-21 02:43:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-21 02:43:15 -0400 |
| commit | 84f147e6ba4a00acff868613f19573406723a3cf (patch) | |
| tree | 0ca76cdcb2e8d3da3d9d7a90cf22159823122c2f | |
| parent | ebf5626bfa9949a286243a404570a7649a6a08e6 (diff) | |
Fix file mtime checks
| -rw-r--r-- | tomo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -170,7 +170,7 @@ static bool stale(const char *filename, const char *relative_to) if (stat(filename, &target_stat)) return true; struct stat relative_to_stat; - if (stat(relative_to, &target_stat)) + if (stat(relative_to, &relative_to_stat)) return true; return target_stat.st_mtime < relative_to_stat.st_mtime; } |
