Re: [libgfortran, patch] Fix fd leak in unix.c’s fallback_access(), aka PR 45165

Jerry DeLisle jvdelisle@frontier.com
Sat Feb 26 16:30:00 GMT 2011


On 02/26/2011 07:11 AM, FX wrote:
> The attached patch fixes a file descriptor leak in fallback_access(), a function in io/unix.c for systems without a system access() (which happens on newlib systems); this is PR 45165.
>
> The patch was tested by building and regtesting on x86_64-darwin, simulating the lack of access() by overriding libgfortran configure results. OK to commit to trunk?
>

OK, thanks.

Jerry



More information about the Gcc-patches mailing list