re PR lto/41871 (lto-plugin gives: could not open/create temporary file)
2009-10-30 Rafael Avila de Espindola <espindola@google.com> PR41871 * lto-plugin.c (claim_file_handler): Close files that we created. From-SVN: r153764
This commit is contained in:
parent
f6d08b433b
commit
86ed04df82
@ -1,3 +1,8 @@
|
||||
2009-10-30 Rafael Avila de Espindola <espindola@google.com>
|
||||
|
||||
PR41871
|
||||
* lto-plugin.c (claim_file_handler): Close files that we created.
|
||||
|
||||
2009-10-28 Rafael Avila de Espindola <espindola@google.com>
|
||||
|
||||
* lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
|
||||
|
@ -635,6 +635,9 @@ claim_file_handler (const struct ld_plugin_input_file *file, int *claimed)
|
||||
if (elf)
|
||||
elf_end (elf);
|
||||
|
||||
if (file->offset != 0)
|
||||
close (lto_file_fd);
|
||||
|
||||
return LDPS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user