This is the mail archive of the libc-alpha@sources.redhat.com 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] SH: memset fix


SUGIOKA Toshinobu <sugioka@itonet.co.jp> wrote:
> On sh[34]-linux, memset function does not work if 2nd argument is negative
> and 3rd argument is greater than 12.
> for example, memset(ptr, '\xda', 20) sets 0xff instead of 0xda.

Oops.  I'm sure it qualifies as "why everything works with it"
bug.  Thanks for catching it.
Uli, could you please approve this one liner?

Regards,
	kaz


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