diff options
author | Nick Clifton <nickc@redhat.com> | 2015-03-05 15:13:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-03-05 15:13:08 +0000 |
commit | 81fb971a3d8626d7e051ff5df807442c8d233329 (patch) | |
tree | 9bb545e12b6842bd274239e9171be7de501a652f /gold | |
parent | ca3fe95e469b9daec153caa2c90665f5daaec2b5 (diff) | |
download | gdb-81fb971a3d8626d7e051ff5df807442c8d233329.zip gdb-81fb971a3d8626d7e051ff5df807442c8d233329.tar.gz gdb-81fb971a3d8626d7e051ff5df807442c8d233329.tar.bz2 |
Fixes PR 17994 - which reported that dlltool was not deleting temporary files if it encounters a fatal error.
PR binutils/17994
* dlltool.c (temp_file_to_remove): New local array.
(unlink_temp_files): New functions - unlinks any file in the
temp_file_to_remove array, unless dotdeltemps is set.
(gen_exp_file): Add temp files to array.
(make_head): Likewise.
(make_delay_head): Likewise.
(make_tail): Likewise.
(gen_lib_file): Call unlink_temp_files.
Diffstat (limited to 'gold')
0 files changed, 0 insertions, 0 deletions