xorg-libx11/modules/lc
Alan Coopersmith 54925250ad i18n: use memcpy instead of strncpy on unterminated char arrays
Avoids gcc warnings that we're using strncpy wrong to copy a known-length
set of characters without a terminating '\0' to a buffer whose length we
are checking separately.  (Should also be imperceptibly faster since we
no longer check if each byte is '\0' when we already know it won't be.)

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-08-28 20:29:27 +00:00
..
def lcDefConv.c: fix use before check 2014-07-06 10:12:20 -07:00
gen i18n: use memcpy instead of strncpy on unterminated char arrays 2020-08-28 20:29:27 +00:00
Utf8 Remove support for building without XCB 2010-06-03 22:19:14 -07:00
Makefile.am Drop X_LOCALE fallback for OS'es without setlocale() 2013-11-22 22:02:17 -08:00