mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-29 08:09:02 +00:00
Formerly main.c.~44~
This commit is contained in:
parent
ecfe56b932
commit
6268af4ceb
1 changed files with 2 additions and 2 deletions
4
main.c
4
main.c
|
@ -1027,8 +1027,8 @@ decode_switches (argc, argv)
|
|||
decode_env_switches ("MFLAGS", 6);
|
||||
|
||||
other_args = (struct stringlist *) xmalloc (sizeof (struct stringlist));
|
||||
other_args->max = argc;
|
||||
other_args->list = (char **) xmalloc (argc * sizeof (char *));
|
||||
other_args->max = argc + 1;
|
||||
other_args->list = (char **) xmalloc ((argc + 1) * sizeof (char *));
|
||||
other_args->idx = 1;
|
||||
other_args->list[0] = savestring (argv[0], strlen (argv[0]));
|
||||
|
||||
|
|
Loading…
Reference in a new issue