aboutsummaryrefslogtreecommitdiff
path: root/binutils/resrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/resrc.c')
-rw-r--r--binutils/resrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/resrc.c b/binutils/resrc.c
index fff77f4..2cf168e 100644
--- a/binutils/resrc.c
+++ b/binutils/resrc.c
@@ -202,7 +202,7 @@ run_cmd (char *cmd, const char *redir)
int i;
const char **argv;
char *errmsg_fmt = NULL, *errmsg_arg = NULL;
- char *temp_base = choose_temp_base ();
+ char *temp_base = make_temp_file (NULL);
int in_quote;
char sep;
int redir_handle = -1;
@@ -316,7 +316,7 @@ open_input_stream (char *cmd)
{
char *fileprefix;
- fileprefix = choose_temp_base ();
+ fileprefix = make_temp_file (NULL);
cpp_temp_file = (char *) xmalloc (strlen (fileprefix) + 5);
sprintf (cpp_temp_file, "%s.irc", fileprefix);
free (fileprefix);