[PATCH] add attribute nonstring
Joseph Myers
joseph@codesourcery.com
Wed Nov 15 23:14:00 GMT 2017
On Wed, 15 Nov 2017, Martin Sebor wrote:
> Sure. I've got the attached patch. According to the Linux utmp
> man page:
> String fields are terminated by a null byte ('\0')
> if they are shorter than the size of the field.
>
> The patch lets Glibc compile fine with the top of GCC 8 trunk.
This patch is OK, with the corresponding change also to
sysdeps/unix/sysv/linux/s390/bits/utmp.h unless you have reason to believe
that version of bits/utmp.h doesn't need changing.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list