solved: byte order issues (was Re: [Integrit-users] problems using integrit)
Brought to you by:
ecashin
From: Ed L C. <ec...@co...> - 2001-02-18 18:23:01
|
Good news: the problem has been fixed. It was a byte order issue. The cdb is stored in a cross-platform format. The numbers in the cdb file are in little-endian byte order, so no problems showed up on PC's. Now cdb's own number packing and unpacking routines are used to ensure that the numbers from the database are translated correctly into the host's native integer format. Thanks much to Van Liedekerke Franky for reporting the problem. This fix is a big deal, since it applies to all big-endian architectures (and therefore lets me use integrit on more machines at work :). Soon I'll announce a version 1.06 release. It will be a beta, since the current integrit has some enhancements and more error checking. -- --Ed Cashin integrit file verification system ec...@co... http://integrit.sourceforge.net/ |