This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Simplify strncat.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 16 Dec 2014 12:36:38 -0800 (PST)
- Subject: Re: [PATCH] Simplify strncat.
- Authentication-results: sourceware.org; auth=none
- References: <20141216202438 dot GA5612 at domone>
Use '\0', not '\000'.
IIRC we have a general policy about having a benchtests case and citing
numbers on that. But for strncat there is pretty universal agreement that
nobody should use it when they care about much of anything (including
performance), and the drastic simplification seems like a good thing.
With the cosmetic fix, I'm fine with this if nobody else objects.