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: [PATCH] Remove index defines


Joseph Myers wrote:
> On Tue, 10 Jan 2017, Wilco Dijkstra wrote:
>
> > As a minor cleanup remove the (r)index defines from include/string.h as 
> > they are only used internally in a few places.  Rename a few uses that 
> > occur in libc.so.
>
> How did you identify where should be changed?  Did you make sure installed 
> stripped shared libraries were unchanged by the patch?
>
> I see calls in hurd/path-lookup.c and sunrpc/rpc_main.c that I'd expect to 
> be similarly changed.

I checked there are no local plt failures and no uses of it in the libc/libm.so. 
sunrpc/rpc_main.c seems to be an application, so it's OK to use (r)index.

I can't find the functions in hurd/path-lookup.c in any .so, in fact none of the
files in hurd seem to be built.  Is it dead or only used for a subset of targets?

Wilco

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