From 2ff43a3340c7f0e73162e6cf2566989287c7cb9e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 27 May 1996 00:05:23 +0000 Subject: (MSDOS pexecute): Call xmalloc, not malloc. From-SVN: r12119 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index 9e9304b..7c6de62 100644 --- 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 *) xmalloc (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); -- cgit v1.1