Skip to content
  • Paul Eggert's avatar
    maint: port more modules to GCC 8 · 72333a9c
    Paul Eggert authored
    * lib/dirname.h (base_name):
    * lib/exclude.h (new_exclude):
    * lib/xstrndup.h (xstrndup):
    Add malloc attribute.
    * lib/readutmp.c: Pacify GCC 8 about safe use of strncpy.
    * lib/sig-handler.h (get_handler) [SA_SIGINFO]: Simplify.
    This pacifies GCC 8.
    * m4/gnulib-common.m4 (gl_COMMON_BODY):
    Define _GL_ATTRIBUTE_MALLOC here.  All other definitions removed.
    72333a9c