freebsd-dev/lib/libc/db/btree
Thomas Moestl 6bc615b0a1 Fix a sizeof error in __bt_put: when writing they key and data sizes
to a buffer in the big key/data case, memmove() was used on pointers
to size_ts, but only sizeof(u_int32_t) bytes where copied. This broke
on big_endian architectures where sizeof(size_t) > sizeof(u_int32_t).

This bug broke portupgrade (by way of ruby_bdb1) on sparc64.

Approved by:	re (rwatson)
2003-05-30 11:05:08 +00:00
..
bt_close.c
bt_conv.c
bt_debug.c
bt_delete.c
bt_get.c
bt_open.c
bt_overflow.c
bt_page.c
bt_put.c Fix a sizeof error in __bt_put: when writing they key and data sizes 2003-05-30 11:05:08 +00:00
bt_search.c
bt_seq.c
bt_split.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
bt_utils.c
btree.h
extern.h
Makefile.inc