falconindy / expac

alpm data extraction utility
91 stars 15 forks source link

%C and %R output garbled #5

Closed rmarquis closed 11 years ago

rmarquis commented 11 years ago

When using the latest expac (version 1-2), I'm unable to output correctly the %C (conflicts) and %R (replace) variables.

Examples: See

expac -S '%n %C'

and

expac -S '%n %R'

All other variables seems to be outputed as expected. Did I miss anything?

falconindy commented 11 years ago

conflicts and replaces changed from simple C-strings to alpm_conflict_t structs somewhere along the way. Just to be sure -- this is with 4.0.3, not a -git build?

rmarquis commented 11 years ago

Yes, this happens with the stable version (Pacman v4.0.3 - libalpm v7.0.3).

falconindy commented 11 years ago

Fixed by 43909e6caefc4b