Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_files.c
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2008-11-17 17:02:43 +0100
committerDan McGee <dan@archlinux.org>2008-11-30 16:38:37 -0600
commita50b067470a8046dabdff66f6266d2208b2f8372 (patch)
tree0e6c41887d50369bc6f72bddf5bdffc87dce13cb /lib/libalpm/be_files.c
parent346139298bc547d1cbeb5d41f2067577b96ff1fa (diff)
Give an error message on alpm_db_register_sync() error
This patch slightly modifies pacman.c/_parseconfig(): See FS#12148. Now pacman prints the following error message in that case: "error: could not register 'unstable' database (could not open database)" I also added an error message for alpm_db_setserver() error. I changed the "return(1);" scheme to "ret = 1; goto cleanup;" to make sure that we free allocated memory and close open files. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_files.c')
0 files changed, 0 insertions, 0 deletions