This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
dwarf_haschildren: Return -1 for error case, not 0.
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 10 Jan 2009 00:41:30 -0800
- Subject: dwarf_haschildren: Return -1 for error case, not 0.
Please review the roland/fixes-for-c++ branch, which (aside from merges)
just has commit 1f6d2010bb26b6bf5395a98651fce9a1a9141ac3 (Subject:).
The C++ wrapper throws an exception for error, and without this it
couldn't tell for dwarf_haschildren without doing something unclean.
Ok to merge?
Thanks,
Roland