CDB database library corrections

"Norton, Ian" <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <BD039FFA11612F4AAF68A9C0C568752F05B61FEC@exchange-be5.lancs.local>
Hi All,

Having tried to roll out the CDB patch, we found a problem or two with it as follows:

  len_return argument to cdb_seek was incorrect
  Off by one error adding null terminator
  Null terminator incorrectly quoted
  Removed debugging statements from original patch
  File handle not correctly closed on failed lookup
  Corrected comment quoting for C style
  Some rewriting for better readability

Patch against the current copy held on the Mercurial Repository attached.

Huge thanks to Paul Tipper who helped extensively with this patch.

Regards, Ian.

Ian Norton
Mail & Systems Support
University of Lancaster

______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users
perdition-cdb-patch (application/octet-stream, 2.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.