* remake.c (f_mtime): Move future modtime check before FILE is
clobbered by :: loop.
}
}
- /* Store the mtime into all the entries for this file. */
- if (file->double_colon)
- file = file->double_colon;
- do
- {
- file->last_mtime = mtime;
- file = file->prev;
- } while (file != 0);
-
{
/* Files can have bogus timestamps that nothing newly made will be
"newer" than. Updating their dependents could just result in loops.
}
}
+ /* Store the mtime into all the entries for this file. */
+ if (file->double_colon)
+ file = file->double_colon;
+ do
+ {
+ file->last_mtime = mtime;
+ file = file->prev;
+ } while (file != 0);
+
return mtime;
}