This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: [PATCH] tdestroy() should allow passing 'NULL' for 'freefct' callback


On 26 June 2013 17:27, Carlos O'Donell <carlos@redhat.com> wrote:
> Versioning is an interesting point I hadn't considered. In the past I'd
> say we haven't always done this kind of bumping of the symbol version
> to ensure considerate error messages. Though I agree with you, bumping
> the symbol version is the right thing to do here.

Why do we need a new symbol version for this?  The new behaviour is
backward compatible, so the only thing it adds is the ability to pass
a NULL callback to tdestroy, which would result in a segfault earlier.
 I doubt if any application does something as silly as passing a NULL
callback to catch the crash in a SIGSEGV handler to do something
special.

Siddhesh
--
http://siddhesh.in


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]