summaryrefslogtreecommitdiff
path: root/vpath.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-06-13 05:22:52 +0000
committerPaul Smith <psmith@gnu.org>2000-06-13 05:22:52 +0000
commitfac75eba7315b3881a1f8fe3c9f0025a72cf0528 (patch)
treed4bac994ae10ea2290d195dfe12978a8bfcda2ea /vpath.c
parent4c97078de493214d6f3aa2935064d8dd6bf27fb5 (diff)
downloadmake-fac75eba7315b3881a1f8fe3c9f0025a72cf0528.tar.gz
* Some timestamp fixes from Paul Eggert.
* Fix compilation on Linux; use libintl.h and not gettext.h when using the system gettext.
Diffstat (limited to 'vpath.c')
-rw-r--r--vpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vpath.c b/vpath.c
index 2288f9ae..000db97c 100644
--- a/vpath.c
+++ b/vpath.c
@@ -525,10 +525,10 @@ selective_vpath_search (path, file, mtime_ptr)
if (mtime_ptr != 0)
/* Store the modtime into *MTIME_PTR for the caller.
If we have had no need to stat the file here,
- we record a zero modtime to indicate this. */
+ we record UNKNOWN_MTIME to indicate this. */
*mtime_ptr = (exists_in_cache
- ? FILE_TIMESTAMP_STAT_MODTIME (st)
- : (FILE_TIMESTAMP) 0);
+ ? FILE_TIMESTAMP_STAT_MODTIME (name, st)
+ : UNKNOWN_MTIME);
free (name);
return 1;