Fixes PR 17994 - which reported that dlltool was not deleting temporary files if...
authorNick Clifton <nickc@redhat.com>
Thu, 5 Mar 2015 15:13:08 +0000 (15:13 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 5 Mar 2015 15:13:08 +0000 (15:13 +0000)
commit81fb971a3d8626d7e051ff5df807442c8d233329
tree9bb545e12b6842bd274239e9171be7de501a652f
parentca3fe95e469b9daec153caa2c90665f5daaec2b5
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.
binutils/ChangeLog
binutils/dlltool.c
This page took 0.025117 seconds and 4 git commands to generate.