Closed evelikov closed 3 weeks ago
Some brown paperbag fixes :facepalm:
@stoeckmann are you ok with this version?
@stoeckmann are you ok with this version?
Won't stop merge process. I'd prefer _cleanup_free_
but it's not like this is the only function which does it manually.
@stoeckmann agreed. I created #233 so we don't forget. Let's see what is the clang-analyzer situation with that. Applied, thanks.
We need tests for kmod_dump_index
with all the different indexen.
While looking at how to make the index API properly handle error conditions, I noticed that we completely broke the API.
The first commit fixes that + reintroduces earlier proposal of mine. The initial counter argument had a good point but was a bit absolute (aka thinking of a extreme case, that isn't applicable to us).
The rest are bunch of paper cuts, that I've accumulated as part of the initial goal.
/cc @stoeckmann can you check the first commit? can I offer some :cookie: for adding an in-tree test?
Random notes:
index_value::priority
is ignored when dumping... unlike thedepmod
equivalent