]> git.ipfire.org Git - pakfire.git/commit
filelist: Fix removing items
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 11:52:35 +0000 (11:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 11:52:35 +0000 (11:52 +0000)
commit41d2678d55b6d7987d2ec38e85008cf44f20a403
treeb0d796c4ddb2cb654665df1556f9b4f922a9bd2c
parent89644326368a23040f3406243dd138204856fb07
filelist: Fix removing items

This also now shrinks the array whenever possible so that we won't waste
any memory if the filelist shrinks by a large amount.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/filelist.c