On 1/4/20 12:24 AM, Jan Kratochvil wrote:
That librpm dependency is painful anyway as librpm authors do not like it to be used by 3rd party apps and they prefer popen()ing some
rpm commands instead: >      rpmdb locking broken by other-arch rpmquery
        https://bugzilla.redhat.com/show_bug.cgi?id=486423#c1

What a strange conclusion to draw from the comments. I recommended the "good ole pipe" route as a way to avoid numerous issues caused by the API use in the specific case of gdb use (biarch and all).

There never was anything wrong with 3rd party apps using librpm API, that's what it's there for. It's just that most people don't realize just how much extra baggage comes with it, and aren't happy when they find out.

        - Panu -
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to