re PR lto/46291 (Failed to bootstrap-lto)
PR lto/46291 * lto-plugin.c (claim_file_handler): Don't close file descriptor. From-SVN: r166285
This commit is contained in:
parent
332b9a5c15
commit
37da368856
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
PR lto/46291
|
||||
* lto-plugin.c (claim_file_handler): Don't close file descriptor.
|
||||
|
||||
2010-11-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
PR lto/46273
|
||||
|
|
|
@ -886,8 +886,6 @@ claim_file_handler (const struct ld_plugin_input_file *file, int *claimed)
|
|||
cleanup:
|
||||
if (obj.objfile)
|
||||
simple_object_release_read (obj.objfile);
|
||||
if (file->fd >= 0)
|
||||
close (file->fd);
|
||||
|
||||
return LDPS_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue