projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/filestuff.c (make_cleanup_close): Update comment.
[deliverable/binutils-gdb.git]
/
gdb
/
fork-child.c
diff --git
a/gdb/fork-child.c
b/gdb/fork-child.c
index 4ba62b09ac9123a25946d30d7febf3465c0695aa..959f5780b7d374b030c1564a82959de4618b9b24 100644
(file)
--- a/
gdb/fork-child.c
+++ b/
gdb/fork-child.c
@@
-170,7
+170,7
@@
fork_inferior (char *exec_file_arg, char *allargs, char **env,
argument. */
int argc = (strlen (allargs) + 1) / 2 + 2;
- argv =
(char **) alloca (argc * sizeof (*argv)
);
+ argv =
XALLOCAVEC (char *, argc
);
argv[0] = exec_file;
breakup_args (allargs, &argv[1]);
}
This page took
0.025436 seconds
and
4
git commands to generate.