summaryrefslogtreecommitdiff
path: root/src/common.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-07use SPDX-License-Identifier in source filesTBK1-3/+1
2013-06-12libapk, apk(8): fix header inclusion issues with musl's headersWilliam Pitcock1-0/+1
2012-01-06common: fix apk_array copying, and additional size_t fixesTimo Teräs1-2/+4
2011-09-20all: fix array size data type on 64 bitNatanael Copa1-3/+3
The array struct aligned size to 64 bit on x86_64 which caused bad things to happen. We use size_t to make sure the size element is correct regardless arch. Solution found by Timo.
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2010-06-05all: rework how arrays workTimo Teräs1-0/+41
Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly.