#121: aug_get() not returning -1 on multiple matches
--------------------+-------------------------------------------------------
Reporter: pwan | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.7.0
Keywords: |
--------------------+-------------------------------------------------------
aug_get() may be returning the number matches when multiple matches are
found, instead of the expected -1 value.
It looks like this changed on 9/21/2009 as part of the "Report errors when
exactly one match is expected" change, where aug_get() wasn't included as
a function which also expects exactly one node match.
I'm attaching my quick&dirty suggested patch.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/121>
Augeas <http://augeas.net/>
a configuration API
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel