http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46291
--- Comment #5 from Dave Korn <davek at gcc dot gnu.org> 2010-11-03 21:35:11 UTC --- Thanks Cary. I shall prepare a different patch that simply deletes the lines that close the fd, and shall fix LD to match.