diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2010-11-03 23:13:51 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2010-11-03 23:13:51 +0000 |
commit | 37da368856ad8e3f76f50f429211d6cd0748a5f5 (patch) | |
tree | ddf949230b8cf5916de3a33e186b3cdc28e6c1f1 | |
parent | 332b9a5c155b05570c2838044c922a00080e31f5 (diff) | |
download | gcc-37da368856ad8e3f76f50f429211d6cd0748a5f5.zip gcc-37da368856ad8e3f76f50f429211d6cd0748a5f5.tar.gz gcc-37da368856ad8e3f76f50f429211d6cd0748a5f5.tar.bz2 |
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
-rw-r--r-- | lto-plugin/ChangeLog | 5 | ||||
-rw-r--r-- | lto-plugin/lto-plugin.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index 690970f..690ea5a 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,5 +1,10 @@ 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. diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index 7df0d6f..83b61d5 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -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; } |