summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/source/hg.sh.in
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2016-01-11 09:29:22 -0500
committerAllan McRae <allan@archlinux.org>2016-01-15 14:47:36 +1000
commitab50864a758a7c3d26d5423521743c5753a6cffe (patch)
treeceb784be7247152d58f77428ecae8fb901413803 /scripts/libmakepkg/source/hg.sh.in
parent9813107c3368684784706cf2b77bd056bea58e3c (diff)
add alpm_list_append
alpm_list_add always returns the provided list making it impossible for callers to check whether or not the operation actually succeeded without manually comparing the list length before and after. alpm_list_append instead returns a pointer to the newly created list item so that success can be checked. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/source/hg.sh.in')
0 files changed, 0 insertions, 0 deletions