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


Ulrich Drepper <drepper@redhat.com> wrote:
> Please make sure the changes to test-memset.c I made would have cought
> the problem.

It doesn't catch the problem yet.  In the original example
memset(ptr, '\xda', 20), the second argument is promoted to a
negative integer, though the test-memset.c uses non-negative
integers as the second argument.

Regards,
	kaz


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