[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patches] [patches] string/strncat.c ca'tbe compiled for some archs



[reposting to the mailing list]

Denis,

It seems your patch was merged to GLIBC on 2011-09-09, and it will find its way to EGLIBC with the next merge from GLIBC.

Thank you,

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics


On 23/09/2011, at 3:33 AM, Denis Zaitceff wrote:

> I have sent this trivial patch to libc-alpha, but they are ignoring it
> for 2 months.  Probably it's already ok to send it here?
> 
> Since has been changed recently string/strncat.c can't be compiled
> anymore for the arch's that have an inline strncat() defined in
> bits/string.h.  The reason is that   #undef strncat   is lost.
> 
> My case is x86-32 and s390 must be the case too, but I haven't tested it.
> 
> 2011-09-22  Denis Zaitceff  <zaitceff@xxxxxxxxx>
> 
>       * string/strncat.c (strncat): Undef the symbol in case it has been
>       defined in bits/string.h.
> 
> 
> --- string/strncat.c
> +++ string/strncat.c
> @@ -25,6 +25,7 @@
> #endif
> 
> #ifndef STRNCAT
> +# undef           strncat
> # define STRNCAT  strncat
> #endif