Upstreaming the glibc Hurd port
Samuel Thibault
samuel.thibault@gnu.org
Tue Apr 3 16:08:00 GMT 2018
Joseph Myers, on mar. 03 avril 2018 15:45:13 +0000, wrote:
> On Mon, 2 Apr 2018, Samuel Thibault wrote:
>
> > This means that build-glibcs i686-gnu now builds fine. Among the
> > remaining TODOs, there are
>
> If you use mainline GCC, however, it fails:
>
> ../sysdeps/mach/hurd/if_index.c: In function '__if_nametoindex':
> ../sysdeps/mach/hurd/if_index.c:40:3: error: 'strncpy' specified bound 16 equals destination size [-Werror=stringop-truncation]
> strncpy (ifr.ifr_name, ifname, IFNAMSIZ);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oh, a real bug indeed :)
Samuel
More information about the Libc-alpha
mailing list