This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Replace __bzero with memset
On Jun 12 2017, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
> Andreas Schwab wrote:
>> -/* Set N bytes of S to 0. */
>> -#define __bzero(s, n) __builtin_memset (s, '\0', n)
>> /* Copy SRC to DEST, returning pointer to final NUL byte. */
>> #ifndef __stpcpy
>> # define __stpcpy(dest, src) __builtin_stpcpy (dest, src)
>> Does this depend on some other patch?
> No, it's independent, but the patch tool often has difficulty if there are
> unrelated changes nearby. There should not be a merge issue if the only
> change is removal of lines which themselves match unchanged...
It doesn't match.
Andreas Schwab, SUSE Labs, firstname.lastname@example.org
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."