[Xapian-commits] 16291: trunk/xapian-core/ trunk/xapian-core/common/

olly xapian-commits at lists.xapian.org
Wed Jan 11 05:46:26 GMT 2012


SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       16291
Date:           2012-01-11 05:46:26 +0000 (Wed, 11 Jan 2012)

Log message (7 lines):
common/Makefile.mk,common/omassert.cc,common/omassert.h,
common/utils.cc: Change the sense of the bool returned by
within_DBL_EPSILON() to match what the name suggests instead of being
the opposite, and change the use of it too.  Move
within_DBL_EPSILON() implementation from utils.cc to new file
omassert.cc, only compile it when assertions are on, and prototype it
in omassert.h rather than utils.h.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/common/Makefile.mk
A   trunk/xapian-core/common/omassert.cc
U   trunk/xapian-core/common/omassert.h
U   trunk/xapian-core/common/utils.cc

Links:
http://xapian.org/C?16291
http://xapian.org/C?16291?trunk/xapian-core/ChangeLog
http://xapian.org/C?16291?trunk/xapian-core/common/Makefile.mk
http://xapian.org/C?16291?trunk/xapian-core/common/omassert.cc?A
http://xapian.org/C?16291?trunk/xapian-core/common/omassert.h
http://xapian.org/C?16291?trunk/xapian-core/common/utils.cc



More information about the Xapian-commits mailing list