This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Clean up redundancies between string.h and strings.h.
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: Zack Weinberg <zackw at panix dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, nd <nd at arm dot com>
- Date: Thu, 16 Feb 2017 17:42:48 +0000
- Subject: Re: [PATCH] Clean up redundancies between string.h and strings.h.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco dot Dijkstra at arm dot com;
- Nodisclaimer: True
- References: <20170216151157.96DEA14B9D@panix1.panix.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Zack Weinberg wrote:
> (Archaeology indicates that bits/string2.h inlines once used __bzero;
> it doesn't anymore, and I believe Wilco has a patch to remove the
> #define that remains. The remaining uses of __bzero are all in
> sunrpc. If we got rid of them we could also simplify all the sysdeps
> definitions of memset a bit, but I'm not sure it's worth bothering.)
I've got a patch that removes that define of __bzero as well as rename
all existing uses to memset - I'll post it soon. I think that removes the
need to define it in include/string.h as well.
I'm also working on a patch to rename all __mempcpy/__stpcpy so we no
longer need redirects to builtins for those (besides the one in include/string.h).
Wilco