mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-16 16:31:32 +08:00
* pexecute.c (pexecute): Fill in temp_base when needed.
From-SVN: r29053
This commit is contained in:
parent
34640c8750
commit
19e28e2aee
@ -1,3 +1,7 @@
|
||||
Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
|
||||
|
||||
* pexecute.c (pexecute): Fill in temp_base when needed.
|
||||
|
||||
1999-08-31 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* getpwd.c: Check HAVE_GETCWD before defining it away.
|
||||
|
@ -156,6 +156,8 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
|
||||
FILE *argfile;
|
||||
int i, el = flags & PEXECUTE_SEARCH ? 4 : 0;
|
||||
|
||||
if (temp_base == 0)
|
||||
temp_base = choose_temp_base ();
|
||||
scmd = (char *) xmalloc (strlen (program) + strlen (temp_base) + 6 + el);
|
||||
rf = scmd + strlen(program) + 2 + el;
|
||||
sprintf (scmd, "%s%s @%s.gp", program,
|
||||
|
Loading…
Reference in New Issue
Block a user