Fixing a wrong CRC computation
Dependencies
- [2]
W2MIZD5BSingle file databases + CRC for the root pages (checking the other pages makes everything very slow) - [3]
G4JEQLLXDebugging synchronisation - [4]
HN6Z5DU4Cleanup - [5]
HCDD6FX7Fixing some comments and reformatting - [6]
WS4ZQM4RDebugging, tests, etc. - [*]
OP6SVMODResetting history
Change contents
- replacement in sanakirja-core/src/lib.rs at line 254
hasher.update(core::slice::from_raw_parts(self.data, 4));// Remove the dirty bit.let x = [(*self.data) & 0xfe];hasher.update(&x[..]);hasher.update(core::slice::from_raw_parts(self.data.add(1), 3)); - replacement in sanakirja-core/src/lib.rs at line 268
let crc = unsafe { u32::from_le(*(self.data as *const u32)) };let crc = unsafe { u32::from_le(*(self.data as *const u32).add(1)) };