mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-05 14:07:46 +00:00
Formerly main.c.~101~
This commit is contained in:
parent
a1749c85c8
commit
462e175970
1 changed files with 3 additions and 5 deletions
8
main.c
8
main.c
|
@ -389,7 +389,6 @@ main (argc, argv, envp)
|
||||||
register char *cmd_defs;
|
register char *cmd_defs;
|
||||||
register unsigned int cmd_defs_len, cmd_defs_idx;
|
register unsigned int cmd_defs_len, cmd_defs_idx;
|
||||||
char **p;
|
char **p;
|
||||||
time_t now;
|
|
||||||
struct dep *goals = 0;
|
struct dep *goals = 0;
|
||||||
register struct dep *lastgoal;
|
register struct dep *lastgoal;
|
||||||
struct dep *read_makefiles;
|
struct dep *read_makefiles;
|
||||||
|
@ -816,8 +815,8 @@ main (argc, argv, envp)
|
||||||
build_vpath_lists ();
|
build_vpath_lists ();
|
||||||
|
|
||||||
/* Mark files given with -o flags as very old (00:00:01.00 Jan 1, 1970)
|
/* Mark files given with -o flags as very old (00:00:01.00 Jan 1, 1970)
|
||||||
and as having been updated already, and files given with -W flags
|
and as having been updated already, and files given with -W flags as
|
||||||
as brand new (time-stamp of now). */
|
brand new (time-stamp as far as possible into the future). */
|
||||||
|
|
||||||
if (old_files != 0)
|
if (old_files != 0)
|
||||||
for (p = old_files->list; *p != 0; ++p)
|
for (p = old_files->list; *p != 0; ++p)
|
||||||
|
@ -831,11 +830,10 @@ main (argc, argv, envp)
|
||||||
|
|
||||||
if (new_files != 0)
|
if (new_files != 0)
|
||||||
{
|
{
|
||||||
now = time ((time_t *) 0);
|
|
||||||
for (p = new_files->list; *p != 0; ++p)
|
for (p = new_files->list; *p != 0; ++p)
|
||||||
{
|
{
|
||||||
f = enter_command_line_file (*p);
|
f = enter_command_line_file (*p);
|
||||||
f->last_mtime = now;
|
f->last_mtime = NEW_MTIME;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue