This is the mail archive of the
mailing list for the glibc project.
Re: sparc: fix for missing include file
- From: David Miller <davem at davemloft dot net>
- To: neleai at seznam dot cz
- Cc: wbx at openadk dot org, libc-alpha at sourceware dot org
- Date: Sat, 13 Dec 2014 13:00:22 -0500 (EST)
- Subject: Re: sparc: fix for missing include file
- Authentication-results: sourceware.org; auth=none
- References: <20140913113918 dot GA22732 at waldemar-brodkorb dot de> <20141211135716 dot GA17022 at domone> <20141211 dot 150535 dot 106178897111220975 dot davem at davemloft dot net>
From: David Miller <email@example.com>
Date: Thu, 11 Dec 2014 15:05:35 -0500 (EST)
> From: OndÅej BÃlka <firstname.lastname@example.org>
> 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.