]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: port to GCC 8
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 May 2018 20:03:34 +0000 (13:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 May 2018 20:04:15 +0000 (13:04 -0700)
commit9781fcd532f30afe174239a22816a83c40528b27
tree09d20b9b2f3fd83ff5602c41559f062dd58f04b6
parente0566c5fea102b01964dbd4fade61edbd612f218
maint: port to GCC 8

* src/chown-core.h (chopt_free, gid_to_name, uid_to_name):
No longer const.
* src/make-prime-list.c (xalloc): Add malloc attribute.
* src/who.c (make_id_equals_comment): Work around GCC bug 85602
by using mempcpy rather than strncat.  Although the old code
was correct, strncat raises so many hackles that it’s not
worth maintaining its use here.
src/chown-core.h
src/make-prime-list.c
src/who.c