This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Other ISO C TR / TS / standard optional APIs
- From: Rich Felker <dalias at libc dot org>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 12 Nov 2015 20:15:17 -0500
- Subject: Re: Other ISO C TR / TS / standard optional APIs
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1511112059460 dot 1037 at digraph dot polyomino dot org dot uk> <CAKCAbMgC41k7J_pOfpj4tKFFe71JBOJWjt7r4h7-OH2FEOWD1w at mail dot gmail dot com>
On Wed, Nov 11, 2015 at 04:47:32PM -0500, Zack Weinberg wrote:
> On Wed, Nov 11, 2015 at 4:43 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> >
> > * C11 Annex K (bounds-checking interfaces). I don't think there were
> > particularly strong objections to supporting these, possibly in a separate
> > libc_s.so, but no great liking for them either (and the discussion of a
> > patch submission a while back died down without revised resubmission).
>
> Note that N1967
> <http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm> proposes
> Annex K be scrapped.
I'm in support of this. And I think general principles should call for
its exclusion from glibc too. Unlike the strl* topic, where the
questionable functions are widely used and widely re-implemented by
portable applications using them (with all the bugs that may entail),
these functions are not widely used and are unlikely to ever become
widely used (outside of Windows-specific code) unless a major
implementor like glibc adds them.
Rich