This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
bug-strncat1 fix for s390.
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: bug-strncat1 fix for s390.
- From: schwidefsky at de dot ibm dot com
- Date: Tue, 21 Nov 2000 22:03:33 +0100
Hi,
bug-strncat revealed a problem with the s390 backend. It didn't terminate
the target string if the \0 character would be the n+1 character. Here is
the ChangeLog + Patch:
2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/bits/string.h: Make strncat always
add a \0.
(See attached file: strncat-s390.diff)
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
strncat-s390.diff