[Aide] AIDE compare_dbline function returns int
Richard van den Berg
richard at vdberg.org
Fri Apr 9 23:37:27 EEST 2010
On 9-4-10 22:00 , Patrick Neely wrote:
> The compare_dbline functions returns an int, even though it can contain
> numbers larger than type int. For example, DB_SELINUX, DB_XATTRS, and
> DB_WHIRLPOOL are all larger than the int return value.
>
You're right, but since the return value of compare_dbline() is only
ever compared to 0, I don't think it matters all that much.
> Is this included patch the best approach to this problem?
>
It's better to use DB_ATTR_TYPE instead. I've fixed this is CVS.
Thank,
Richard
More information about the Aide
mailing list