[pacman-dev] [PATCH] libalpm: set pm_errno correctly in alpm_trans_get_flags()