diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-20 22:23:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-22 17:32:24 +0200 |
commit | 01f5c9e79ab2e051349f941b7ecce80d9a251603 (patch) | |
tree | fbdbf84a8c05f8193ad9e98318d5d337c3b5d9bd /src/util/pacsort.c | |
parent | 5e7875ae6a42de40e3a7432ea758b27397a11aa7 (diff) | |
download | pacman-01f5c9e79ab2e051349f941b7ecce80d9a251603.tar.gz pacman-01f5c9e79ab2e051349f941b7ecce80d9a251603.tar.xz |
validate_deltas: split verify/check errors loops
This allows us to do all delta verification up front, followed by
whatever needs to be done with any found errors. In this case, we call
prompt_to_delete() for each error.
Add back the missing EVENT(ALPM_EVENT_DELTA_INTEGRITY_DONE) that
accidentally got removed in commit 062c391919e93f1d6.
Remove use of *data; we never even look at the stuff in this array for
the error code we were returning and this would be much better handled
by one callback per error anyway, or at least some strongly typed return
values.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/pacsort.c')
0 files changed, 0 insertions, 0 deletions