This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFA: always close fd if bfd_fopen fails
- From: Alan Modra <amodra at gmail dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Binutils Development <binutils at sourceware dot org>, gdb-patches at sourceware dot org
- Date: Mon, 28 May 2012 13:40:06 +0930
- Subject: Re: RFA: always close fd if bfd_fopen fails
- References: <87likg74hg.fsf@fleche.redhat.com>
On Fri, May 25, 2012 at 07:52:11AM -0600, Tom Tromey wrote:
> * opncls.c (bfd_fopen): Always close fd on failure.
> (bfd_fdopenr): Likewise.
OK.
--
Alan Modra
Australia Development Lab, IBM