diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 07:37:50 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 07:37:50 +0000 |
commit | fd0c1d22ec56c96538bfc2bde14217bab58f6b01 (patch) | |
tree | b60d561b0633a66f6eaf0fb7dff762bb25ae8c74 /libiberty/pexecute.c | |
parent | 31d6df591f5eaf1bd355e40e5b2d9d6f3065dd35 (diff) | |
download | gcc-fd0c1d22ec56c96538bfc2bde14217bab58f6b01.tar.gz |
* pexecute.c (pexecute): Fill in temp_base when needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29053 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/pexecute.c')
-rw-r--r-- | libiberty/pexecute.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c index 6f6a0449d09..dffd04f5a91 100644 --- a/libiberty/pexecute.c +++ b/libiberty/pexecute.c @@ -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, |