This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: asprintf() issue
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: libc-alpha at sourceware dot org, Florian Weimer <fweimer at redhat dot com>, Joseph Myers <joseph at codesourcery dot com>, Archie Cobbs <archie dot cobbs at gmail dot com>, Michael Kerrisk-manpages <mtk dot manpages at gmail dot com>
- Date: Wed, 20 May 2015 08:54:42 -0400
- Subject: Re: asprintf() issue
- Authentication-results: sourceware.org; auth=none
- References: <CANSoFxvac6_uBgwzWm5q6U+GcWzzKtDtDP0BVvE4eL08zXHs5Q at mail dot gmail dot com> <5552183C dot 2070809 at redhat dot com> <CANSoFxv7uO2Niq+wVKsC9xoDYuNgqHFxJnLrkgNqfKpFwzde=Q at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505131601320 dot 30846 at digraph dot polyomino dot org dot uk> <555385F4 dot 5000409 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1505131722190 dot 30846 at digraph dot polyomino dot org dot uk> <555432DE dot 1020608 at redhat dot com> <5559C31D dot 5070400 at redhat dot com> <555C0DDF dot 1090408 at redhat dot com> <555C29E7 dot 8090403 at redhat dot com> <20150520074409 dot GA28812 at altlinux dot org>
On 05/20/2015 03:44 AM, Dmitry V. Levin wrote:
> Said that, I don't object to introduction of a compat symbol for asprintf
> if there is a general consensus that any user visible change requires
> introduction of a compat symbol. Those distributions that adopted my
> patch for asprintf or developed an equivalent change will have to support
> a patch removing this compat symbol, but it shouldn't be an issue as
> they must be prepared to support their edition of asprintf anyway.
They don't need to remove the compat symbol at all. They can just leave
everything as is and keep patching the original symbol to do whatever they
want. They should not deviate from the ABI symbol set that upstream is using
since that will cause linkage issues across the distributions.
We should add a new symbol and be conservative about this.
Cheers,
Carlos.