This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fixes PR 17994 - which reported that dlltool was not deleting temporary files if it encounters a fatal error.
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Thu, 05 Mar 2015 10:32:29 -0500
- Subject: [binutils-gdb] Fixes PR 17994 - which reported that dlltool was not deleting temporary files if it encounters a fatal error.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 81fb971a3d8626d7e051ff5df807442c8d233329 ***
Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 81fb971a3d8626d7e051ff5df807442c8d233329
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.