Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/po/libalpm.pot
diff options
context:
space:
mode:
authorStefano Esposito <stefano.esposito87@gmail.com>2007-09-11 22:27:55 +0200
committerDan McGee <dan@archlinux.org>2007-09-17 21:59:02 -0500
commitd50390c089c23ca20c23febc45ea8b9cc24e70f0 (patch)
tree02743e3ab5af43e6778d184c3e5fb749d6625e9f /lib/libalpm/po/libalpm.pot
parent82a1129539ee6c1a87ffbe816a0c8c42f3469177 (diff)
Avoid segfaults whet calling alpm_option_get_* before initialization
When calling a function of the alpm_option_get_* group, you get a segfault if you don't call alpm_initialize() first. With this patch those functions set pm_errno to PM_ERR_HANDLE_NULL and return an error value if handle == NULL. (Dan: modified to meet pacman coding standards) Signed-off-by: Stefano Esposito <stefano.esposito87@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/libalpm.pot')
0 files changed, 0 insertions, 0 deletions