• 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.
    7be853e6
search.c 3.98 KB