- 
Ulrich Sibiller authoredcommit 83913de25d35709b3ab7b0ab124b73924145d2dd Author: Adam Jackson <ajax@redhat.com> Date: Thu Apr 5 12:59:11 2018 -0400 xkb: Silence some compiler warnings Of the form: ../xkb/XKBGAlloc.c: In function ‘SrvXkbAddGeomKeyAlias’: ../xkb/XKBGAlloc.c:591:13: warning: ‘strncpy’ specified bound 4 equals destination size [-Wstringop-truncation] strncpy(alias->real, realStr, XkbKeyNameLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is intentional; the code that reads from these fields never reads more than 4 bytes anyway. Rephrase things in terms of memcpy so that's clear. Obviously this is awful but in XKB awful is par. Signed-off-by:Adam Jackson <ajax@redhat.com> Acked-by: Keith Packard <keithp@keithp.com> 813acdd2
| Name | Last commit | Last update | 
|---|---|---|
| .. | ||
| config | ||
| extras | ||
| include | ||
| lib | ||
| programs | ||
| .gitignore | ||
| Imakefile | ||
| Makefile | ||
| x-indent-all.sh | ||
| x-indent.sh |