diff options
author | Nick Clifton <nickc@redhat.com> | 2022-09-01 14:51:50 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-09-01 14:51:50 +0100 |
commit | f4492fb683013d7de6f4788df6deb24fed8671b4 (patch) | |
tree | 968cfab21701dc4cc1c83e070dd4382261888cca /binutils/dlltool.c | |
parent | 7b0d7ede79f548915641ac5916fbeb77fc9c44ff (diff) | |
download | binutils-gdb-f4492fb683013d7de6f4788df6deb24fed8671b4.tar.gz |
dllwrap, windres and dlltools use mktemp, which should be avoided
PR 29534
* dllwrap.c: Replace uses of choose_temp_base() with
make_temp_file().
* dlltool.c: Likewise.
* resrc.c: Likewise.
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r-- | binutils/dlltool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c index b4ac842212a..a3c5e0f778e 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -1270,7 +1270,7 @@ run (const char *what, char *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 (""); inform (_("run: %s %s"), what, args); |