This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH v2] Remove defines to builtins in string2.h
On Tue, Nov 22, 2016 at 11:34 AM, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
> I checked and there are no namespace issues introduced by my patch
> (note strdup/strndup doesn't appear to redirect internally, so building with -Os
> or removing the str(n)dup defines from string2.h causes a namespace bug).
In the "no-string-opts" branch, I noticed a problem with
strsep/__strsep as well. I sprinkled __ around where necessary to get
things compiling again, but internal redirections would probably be
better, so code can continue using the undecorated names.