[PATCH] Fix resource leak in resolver (bug 19257)
Florian Weimer
fweimer@redhat.com
Tue Feb 9 13:32:00 GMT 2016
On 02/09/2016 02:21 PM, Andreas Schwab wrote:
> Florian Weimer <fweimer@redhat.com> writes:
>
>> I tried static linking to override _IO_new_fopen, but I get this:
>>
>> /home/fweimer/src/gnu/glibc/build/libc.a(iofopen.o): In function
>> `_IO_new_fopen':
>> /home/fweimer/src/gnu/glibc/git/libio/iofopen.c:97: multiple definition
>> of `_IO_new_fopen'
>> t.o:/tmp/t.c:14: first defined here
>
> Why do you think this is going to work?
I think it would work if the file which defined _IO_new_fopen is not
pulled into the link for other reasons.
Florian
More information about the Libc-alpha
mailing list