aboutsummaryrefslogtreecommitdiff
path: root/src/librc-depend.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-10 16:11:20 +0000
committerRoy Marples <roy@marples.name>2007-04-10 16:11:20 +0000
commitffc96d8d892cf5b5433eadb5a305d64ab23b274d (patch)
tree6bbf200d60026f9bfc42e85bf518fca08b06a5fd /src/librc-depend.c
parent240399534c9b329437209dcac0efe86556f232c3 (diff)
Change veinfo and friends to einfov. Rationale - we may need veinfo to support va_list in the future.
Diffstat (limited to 'src/librc-depend.c')
-rw-r--r--src/librc-depend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librc-depend.c b/src/librc-depend.c
index 93cc1f5c..f9b9bcd7 100644
--- a/src/librc-depend.c
+++ b/src/librc-depend.c
@@ -520,8 +520,10 @@ static bool is_newer_than (const char *file, const char *target)
return (false);
mtime = buf.st_mtime;
+ /* Of course we are newever than targets that don't exist
+ Such as broken symlinks */
if (stat (target, &buf) != 0)
- return (false);
+ return (true);
if (mtime < buf.st_mtime)
return (false);