simon-svn: utils: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Mon May 22 13:09:48 BST 2006


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       6715
Date:           2006-05-22 13:09:48 +0100 (Mon, 22 May 2006)

Log message (6 lines):
Small patch from Steven Taschuk to work around buggy dbm
implementations which have non-idempotent len() functions, so that
the test `if db' doesn't return the same result every time (!). By
explicitly testing whether db is None rather than returning false if
db is non-None but inexplicably returns zero from len(), we avoid
the problem in favour of the semantics I actually intended.

Modified files:
U   utils/cvt-utf8/cvt-utf8

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6715&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/utils/cvt-utf8/cvt-utf8?rev=6715&r1=6714&r2=6715



More information about the tartarus-commits mailing list