Broken strncat macro

Ulrich Drepper drepper@redhat.com
Sun Oct 29 19:48:00 GMT 2000


"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   `------------------------


More information about the Libc-alpha mailing list