sparc: fix for missing include file
David Miller
davem@davemloft.net
Sat Dec 13 18:00:00 GMT 2014
From: David Miller <davem@davemloft.net>
Date: Thu, 11 Dec 2014 15:05:35 -0500 (EST)
> From: Ondřej Bílka <neleai@seznam.cz>
> Date: Thu, 11 Dec 2014 14:57:16 +0100
>
>> This was not commited yet, David could you commit it?
>
> I don't want to commit a change into a tree that doesn't even
> build successfully for me:
>
> malloc.c: In function ‘_int_malloc’:
So I removed the inlines just to make forward progress, then got:
strncat.c: In function ‘strncat’:
strncat.c:76:6: error: ‘c’ may be used uninitialized in this function [-Werror=uninitialized]
This is the generic C strncat.c in string/strncat.c, and actually the
compiler is right here in that when 'n' is zero 'c' will in fact be
tested without being initialized to anything.
More information about the Libc-alpha
mailing list