OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4c733
)
(MSDOS pexecute): Call xmalloc, not malloc.
author
dje
<dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 May 1996 00:05:23 +0000
(
00:05
+0000)
committer
dje
<dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 May 1996 00:05:23 +0000
(
00:05
+0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12119
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/gcc.c
patch
|
blob
|
history
diff --git
a/gcc/gcc.c
b/gcc/gcc.c
index
9e9304b
..
7c6de62
100644
(file)
--- a/
gcc/gcc.c
+++ b/
gcc/gcc.c
@@
-1906,7
+1906,7
@@
pexecute (search_flag, program, argv, not_last)
FILE *argfile;
int i, el = search_flag ? 0 : 4;
- scmd = (char *)malloc (strlen (program) + strlen (temp_filename) + 6 + el);
+ scmd = (char *)
x
malloc (strlen (program) + strlen (temp_filename) + 6 + el);
rf = scmd + strlen(program) + 2 + el;
sprintf (scmd, "%s%s @%s.gp", program,
(search_flag ? "" : ".exe"), temp_filename);