This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Broken strncat macro
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Broken strncat macro
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 29 Oct 2000 19:48:00 -0800
- Cc: libc-alpha at sources dot redhat dot com
- References: <Pine.SOL.4.21.0010282159370.16644-100000@yellow.csi.cam.ac.uk>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"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 `------------------------