mirror of
https://github.com/mirror/make.git
synced 2025-03-25 01:00:30 +08:00
Formerly main.c.~52~
This commit is contained in:
parent
62e8630bdc
commit
0f045633a7
8
main.c
8
main.c
@ -718,6 +718,7 @@ main (argc, argv, envp)
|
||||
f->last_mtime = (time_t) 1;
|
||||
f->updated = 1;
|
||||
f->update_status = 0;
|
||||
f->command_state = cs_finished;
|
||||
}
|
||||
|
||||
if (new_files != 0)
|
||||
@ -922,7 +923,12 @@ main (argc, argv, envp)
|
||||
for (p = environ; *p != 0; ++p)
|
||||
if (!strncmp (*p, "MAKELEVEL=", 10))
|
||||
{
|
||||
*p = (char *) alloca (40);
|
||||
/* The SGI compiler apparently can't understand
|
||||
the concept of storing the result of a function
|
||||
in something other than a local variable. */
|
||||
char *sgi_loses;
|
||||
sgi_loses = (char *) alloca (40);
|
||||
*p = sgi_loses;
|
||||
sprintf (*p, "MAKELEVEL=%u", makelevel);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user