• Timo Teräs's avatar
    all: rework how arrays work · 7be853e6
    Timo Teräs authored
    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.
database.c 54.1 KB