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]

Re: Broken strncat macro


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

> glibc's strncat macro is broken on i686-linux when you define
> __USE_STRING_INLINES: it fails to append the terminating null character
> when the length to concatenate is less than the string length.

Thanks.  I've fixed the problems and added the test case.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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