diff options
author | Paul Smith <psmith@gnu.org> | 2022-10-01 17:17:26 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-10-02 08:55:29 -0400 |
commit | 3cb84fe9335228f10257ac049b838a166fb531c4 (patch) | |
tree | e89fceece4198d5e30c6976141565ca161f539f2 /src/remake.c | |
parent | ad84ec2fdc331030ab154508d2229e151ed91fc8 (diff) | |
download | make-git-3cb84fe9335228f10257ac049b838a166fb531c4.tar.gz |
* src/filedef.h (is_ordinary_mtime): Check for "ordinary" mod time.
* src/remake.c (update_file_1): Use the new macro.
Diffstat (limited to 'src/remake.c')
-rw-r--r-- | src/remake.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/remake.c b/src/remake.c index 69a0e6cb..a97431b9 100644 --- a/src/remake.c +++ b/src/remake.c @@ -491,8 +491,7 @@ update_file_1 (struct file *file, unsigned int depth) noexist = this_mtime == NONEXISTENT_MTIME; if (noexist) DBF (DB_BASIC, _("File '%s' does not exist.\n")); - else if (ORDINARY_MTIME_MIN <= this_mtime && this_mtime <= ORDINARY_MTIME_MAX - && file->low_resolution_time) + else if (is_ordinary_mtime (this_mtime) && file->low_resolution_time) { /* Avoid spurious rebuilds due to low resolution time stamps. */ int ns = FILE_TIMESTAMP_NS (this_mtime); |