This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] For BZ #17328, mark __errno_location with __attribute__((returns_nonnull)) for gcc >=4.9.0
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Zack Weinberg <zackw at panix dot com>, Paul Pluzhnikov <ppluzhnikov at gmail dot com>, Rich Felker <dalias at libc dot org>, GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Tue, 3 Mar 2015 03:42:48 +0000
- Subject: Re: [patch] For BZ #17328, mark __errno_location with __attribute__((returns_nonnull)) for gcc >=4.9.0
- Authentication-results: sourceware.org; auth=none
- References: <CALoOobOuAEpw+zxRrrDyHB7UVbAZMzreXqpujzZOWNLS7+aRUA at mail dot gmail dot com> <20150301011753 dot GV23507 at brightrain dot aerifal dot cx> <CAPC3xapQBMH+DJdup2Y8_tt6xdcFAnQLB_K8VpT3ouCavvzXXA at mail dot gmail dot com> <CAKCAbMgyAEueVsYB=avfUg0pK49YiY-Qyi8w1qXvfTCzfPbUiQ at mail dot gmail dot com> <20150302224606 dot 9C97F2C3A08 at topped-with-meat dot com>
On Mon, 2 Mar 2015, Roland McGrath wrote:
> Then a savvy user could '#undef errno' to use the TLS version. We could
I don't think we should encourage users to #undef errno (something
undefined in ISO C, and that wouldn't work with current glibc).
--
Joseph S. Myers
joseph@codesourcery.com