Commit 37da3688 by Dave Korn Committed by Dave Korn

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
parent 332b9a5c
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
* lto-plugin.h: Delete.
* lto-plugin-elf.c: Likewise.
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment