From: Denis Zaitceff Date: Fri, 9 Sep 2011 16:45:03 +0000 (-0400) Subject: string/strncat.c: fix compilation for some architectures X-Git-Tag: glibc-2.15~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3cdd4674892740f766ea0b5ab5e734e4a028cb0;p=thirdparty%2Fglibc.git string/strncat.c: fix compilation for some architectures --- diff --git a/ChangeLog b/ChangeLog index a41461dafc8..007b61cde32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-07-29 Denis Zaitceff + + * string/strncat.c (strncat): Undef the symbol in case it has been + defined in bits/string.h. + 2011-09-09 Ulrich Drepper * elf/sotruss.ksh: Clean up, fix, and complete help messages. diff --git a/string/strncat.c b/string/strncat.c index 0a3d4af7090..bf6f99b2771 100644 --- a/string/strncat.c +++ b/string/strncat.c @@ -25,6 +25,7 @@ typedef char reg_char; #endif #ifndef STRNCAT +# undef strncat # define STRNCAT strncat #endif