This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [patch] SH: memset fix
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: sugioka at itonet dot co dot jp
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 25 Jul 2005 07:48:00 +0900 (JST)
- Subject: Re: [patch] SH: memset fix
- References: <4.2.0.58.J.20050723212834.01f6c9e8@router.itonet.co.jp>
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