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/btree

2016-10-09 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Oct 9 11:48:24 UTC 2016 Modified Files: src/lib/libc/db/btree: bt_debug.c Log Message: Fix syntax for currently not compiled in code. From Henning Petersen in PR lib/51538. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/db

2016-09-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 24 20:11:12 UTC 2016 Modified Files: src/lib/libc/db/btree: bt_close.c bt_conv.c bt_debug.c bt_delete.c bt_open.c bt_overflow.c bt_page.c bt_put.c bt_search.c bt_seq.c bt_split.c extern.h

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/btree

2016-08-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 31 06:23:51 UTC 2016 Modified Files: src/lib/libc/db/btree: bt_close.c Log Message: don't shortcut closing if the metadata is dirty (from the krb5 tree) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

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/db

2015-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 19 13:20:52 UTC 2015 Modified Files: src/lib/libc/db/db: db.c Log Message: Fix the build for ancient (rhel5) systems that don't have O_CLOEXEC XXX: pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.17

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

2014-12-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 22 17:01:42 UTC 2014 Modified Files: src/lib/libc/db/db: db.c Log Message: whitelist O_CLOEXEC flag, should fix lastlogin issue. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/db/db/db.c

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

2013-12-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 25 19:42:23 UTC 2013 Modified Files: src/lib/libc/db/recno: rec_get.c Log Message: fix bug in previous change (sz should be the size of the newly allocated buffer). To generate a diff of this commit: cvs rdiff -u

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

2013-12-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Dec 14 18:04:00 UTC 2013 Modified Files: src/lib/libc/db/mpool: mpool.c Log Message: knf, reduce pointer gymnastics To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/db/mpool/mpool.c Please note

CVS commit: src/lib/libc/db

2013-12-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Dec 14 18:04:56 UTC 2013 Modified Files: src/lib/libc/db/btree: bt_overflow.c bt_utils.c src/lib/libc/db/recno: rec_get.c rec_put.c rec_utils.c Log Message: It's been many years since realloc(NULL, size) ==

CVS commit: src/lib/libc/db

2013-11-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 1 00:22:48 UTC 2013 Modified Files: src/lib/libc/db/btree: bt_open.c bt_overflow.c bt_utils.c src/lib/libc/db/db: Makefile.inc src/lib/libc/db/hash: hash.c hash_page.c src/lib/libc/db/recno:

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

2013-11-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 22 16:25:51 UTC 2013 Modified Files: src/lib/libc/db/mpool: mpool.c Log Message: switch from circleq to tailq, from FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/db/mpool/mpool.c

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

2013-09-04 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Wed Sep 4 13:03:22 UTC 2013 Modified Files: src/lib/libc/db/btree: bt_seq.c bt_utils.c btree.h Log Message: Fix typos from FreeMiNT's db-1.86 patch. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/lib/libc/db

2011-08-09 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Aug 9 13:03:36 UTC 2011 Modified Files: src/lib/libc/db: Makefile.inc Log Message: libc passes the relaxed array boundary check in clang now. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2011-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 26 22:18:17 UTC 2011 Modified Files: src/lib/libc/db/recno: rec_put.c Log Message: - Fix bug copying only 1 byte instead of the whole page number. Broke nvi joining lines that needed R_BIGDATA. - Fix from FreeBSD for

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

2011-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 26 22:20:31 UTC 2011 Modified Files: src/lib/libc/db/btree: bt_overflow.c bt_put.c Log Message: - use sizeof(var) instead of sizeof(type) - remove useless cast To generate a diff of this commit: cvs rdiff -u -r1.16

CVS commit: src/lib/libc/db

2011-04-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 17 23:12:38 UTC 2011 Modified Files: src/lib/libc/db/btree: bt_open.c src/lib/libc/db/hash: hash_page.c Log Message: Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD. (the bt one

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

2010-12-16 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Dec 16 11:49:35 UTC 2010 Modified Files: src/lib/libc/db/man: mpool.3 Log Message: Use .Fn. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/libc/db/man/mpool.3 Please note that diffs are not public

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

2010-12-16 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Dec 16 11:57:20 UTC 2010 Modified Files: src/lib/libc/db/man: hash.3 Log Message: Fix the references and -offset indent. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/db/man/hash.3 Please note

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

2010-12-16 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Dec 16 12:08:16 UTC 2010 Modified Files: src/lib/libc/db/man: dbopen.3 Log Message: .Fn, offset indent, complete reference. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/db/man/dbopen.3 Please

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

2010-05-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed May 5 06:55:57 UTC 2010 Modified Files: src/lib/libc/db/man: dbm_clearerr.3 Log Message: Note the POSIX compliance (already since SUSv2, '97). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2009-04-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 22 18:44:06 UTC 2009 Modified Files: src/lib/libc/db/btree: bt_split.c src/lib/libc/db/hash: hash_buf.c src/lib/libc/db/mpool: mpool.c Log Message: Avoid information leaks by zeroing memory, from FreeBSD

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

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

2009-04-11 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Apr 11 20:39:15 UTC 2009 Modified Files: src/lib/libc/db/man: dbopen.3 Log Message: -width needs an argument, so provide one. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/db/man/dbopen.3 Please