From: Doug Evans Date: Mon, 27 May 1996 00:05:23 +0000 (+0000) Subject: (MSDOS pexecute): Call xmalloc, not malloc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ff43a3340c7f0e73162e6cf2566989287c7cb9e;p=gcc.git (MSDOS pexecute): Call xmalloc, not malloc. From-SVN: r12119 --- diff --git a/gcc/gcc.c b/gcc/gcc.c index 9e9304b79a4..7c6de62d01f 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);