Mercurial > hg > freeDiameter
view .dir-locals.el @ 1442:915450ee91c7
fix gcc 9.1.1 compile warnings
Use snprintf instead of strncpy to ensure NUL termination.
Simplify attribute copying to calloc/memcpy instead
of malloc/memset/strncpy/assignment.
Appeases gcc 9.1.1 warnings about strncpy bounds.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Thu, 27 Feb 2020 16:19:24 +1100 |
parents | 86e231b3d6fc |
children |
line wrap: on
line source
;;; Directory Local Variables ;;; For more information see (info "(emacs) Directory Variables") ((c-mode (c-basic-offset . 8)))