"
. I'm not completely sure how best to handle this. I think r
should just do no further processing and give the rest of the string, but I think we should talk about it before making a change like that.
Close #2858In file included from /usr/include/string.h:495,
from /home/runner/work/teeworlds/teeworlds/src/base/system.c:6:
In function ‘strncpy’,
inlined from ‘fs_makedir_recursive’ at /home/runner/work/teeworlds/teeworlds/src/base/system.c:2047:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MODIFIER_NONE
? (edited)Mask == 0
would imply MODIFIER_NONE
just aswell (edited)MODIFIER_NONE
is 0 enum
{
BIND_LENGTH=128,
MODIFIER_NONE=0,
MODIFIER_SHIFT,
MODIFIER_CTRL,
MODIFIER_ALT,