CVS commit: src/lib/libc/db/hash

2020-02-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 21 22:04:06 UTC 2020 Modified Files: src/lib/libc/db/hash: hash.h Log Message: Avoid undefined behavior in *BIT macros hash_page.c:792:2, left shift of 1 by 31 places cannot be represented in type 'int'

CVS commit: src/lib/libc/db/hash

2016-09-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 24 20:08:29 UTC 2016 Modified Files: src/lib/libc/db/hash: hash_page.c Log Message: When writing out pages in the "other endian" format, make a copy instead of trashing the in-memory one. To generate a diff of this

CVS commit: src/lib/libc/db/hash

2015-11-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 18 18:22:42 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c hash.h hash_bigkey.c hash_page.c Log Message: Introduce a HASH_BSIZE macro to return the blocksize; in the 64K case this returns 0x to avoid

CVS commit: src/lib/libc/db/hash

2015-11-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 18 13:00:46 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: Account for the -1 hack to fit 0x1 in a short in hash_page.c To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/lib/libc/db/hash

2015-11-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 18 00:23:39 UTC 2015 Modified Files: src/lib/libc/db/hash: hash_page.c Log Message: If MAX_BSIZE == hashp->BSIZE (65536) then it does not fit in a short, and we end up storing 0... This means that every entry needs a

CVS commit: src/lib/libc/db/hash

2015-11-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Nov 17 20:19:55 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: PR/50441: Manuel Bouyer: hash seq enumeration skips keys on big data. XXX: pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.35

CVS commit: src/lib/libc/db/hash

2015-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 22 21:16:02 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: Fix hash iteration that deletes the current element under the cursor by adjusting the position of the iterator appropriately. XXX: pullup 7

CVS commit: src/lib/libc/db/hash

2015-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 22 18:50:06 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: Delay moving to the next key until the next iteration. This avoids returning invalid data to the user if the user deletes the current key,

CVS commit: src/lib/libc/db/hash

2009-04-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 23 22:09:23 UTC 2009 Modified Files: src/lib/libc/db/hash: hash_buf.c Log Message: correct cast to size_t. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/db/hash/hash_buf.c Please note

CVS commit: src/lib/libc/db/hash

2009-04-22 Thread Alistair G. Crooks
Module Name:src Committed By: agc Date: Thu Apr 23 03:49:39 UTC 2009 Modified Files: src/lib/libc/db/hash: hash_buf.c Log Message: Cast the arg to an unsigned value to let this compile To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17