bug-strncat1 fix for s390.

schwidefsky@de.ibm.com schwidefsky@de.ibm.com
Tue Nov 21 13:06:00 GMT 2000


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strncat-s390.diff
Type: text/x-diff
Size: 508 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20001121/f8373096/attachment.bin>


More information about the Libc-alpha mailing list