projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3f0e6
)
(MSDOS pexecute): Call xmalloc, not malloc.
author
Doug Evans
<dje@gnu.org>
Mon, 27 May 1996 00:05:23 +0000
(
00:05
+0000)
committer
Doug Evans
<dje@gnu.org>
Mon, 27 May 1996 00:05:23 +0000
(
00:05
+0000)
From-SVN: r12119
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);