xkbcomp 1.4.7
Alan Coopersmith (34):
- gitlab CI: stop requiring
Signed-off-by
in commits - Eliminate 20
-Wimplicit-fallthrough
warnings - Remove
register
keyword from variable declarations - Variable scope reductions
- Use C99 struct initializers
- Delete unused
uTmpAlloc
/uTmpFree
wrappers aroundalloca()
- Replace
uAlloc()
anduTypedAlloc()
with directmalloc()
calls - Replace
uCalloc()
anduTypedCalloc()
with directcalloc()
calls - Replace
uTypedRealloc()
with directreallocarray()
calls - Replace
uTypedRecalloc()
with directrecallocarray()
calls - Replace
uFree()
with directfree()
calls - Remove unnecessary checks for
NULL
pointers before callingfree()
- Replace
Opaque
with direct usage ofvoid *
- Remove unnecessary casts from
memcpy()
calls - Remove unnecessary casts from
bzero()
calls - Replace
malloc()+bzero()
pairs withcalloc()
calls - Fix 106
missing-field-initializers
warnings in misc.c - Replace
&&
with&
for bitwise comparison - Use
asprintf()
if the platform supports it - Handle
-Wstringop-truncation
warning inHandleOverlayDef()
- Remove
#ifdef sgi
sections -
FindKeypadVMod
: check xkb is notNULL
before dereference, not after -
XkbAddDirectoryToPath
: don't leak existing paths onrealloc()
failure - Mark more functions and variables static
- Remove unused "no indent" (
NOI
) debug functions - Only build debug infrastructure if
DEBUG
is defined - Stop building more unused functions
- Use unsigned ints when shifting to create bitmasks
- Mark more pointers as
const
- Replace
calloc(strlen())+strcpy()
pairs withstrdup()
calls - xkbcomp.h: include
config.h
before any other headers - configure: raise minimum
autoconf
requirement to 2.70 -
GenerateListing
: closeoutFile
before returning - xkbcomp 1.4.7
Leandro Nini (1):
- Avoid possibly dereferencing null pointer (fixes #21 (closed))
Edited by Alan Coopersmith