+2022-09-01 Nick Clifton <nickc@redhat.com>
+
+ PR 29534
+ * dllwrap.c: Replace uses of choose_temp_base() with
+ make_temp_file().
+ * dlltool.c: Likewise.
+ * resrc.c: Likewise.
+
2022-08-23 Nick Clifton <nickc@redhat.com>
PR 29489
int i;
const char **argv;
char *errmsg_fmt = NULL, *errmsg_arg = NULL;
- char *temp_base = choose_temp_base ();
+ char *temp_base = make_temp_file ("");
inform (_("run: %s %s"), what, args);
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;
if (! def_file_seen)
{
- char *fileprefix = choose_temp_base ();
+ char *fileprefix = make_temp_file (NULL);
def_file_name = (char *) xmalloc (strlen (fileprefix) + 5);
sprintf (def_file_name, "%s.def",
if (! base_file_name)
{
- char *fileprefix = choose_temp_base ();
+ char *fileprefix = make_temp_file (NULL);
base_file_name = (char *) xmalloc (strlen (fileprefix) + 6);
sprintf (base_file_name, "%s.base",
(dontdeltemps) ? mybasename (fileprefix) : fileprefix);
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;
{
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);