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] Replace __bzero with memset


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...

Wilco

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