This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix resource leak in resolver (bug 19257)
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 09 Feb 2016 14:21:27 +0100
- Subject: Re: [PATCH] Fix resource leak in resolver (bug 19257)
- Authentication-results: sourceware.org; auth=none
- References: <mvmr3gmun60 dot fsf at hawking dot suse dot de> <56B9DFF9 dot 70504 at redhat dot com> <mvmk2meujgc dot fsf at hawking dot suse dot de> <56B9E559 dot 3010509 at redhat dot com>
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?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."