Subject: CVS commit: src/lib/libc/db/btree
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 12/30/2003 21:20:16
Module Name:	src
Committed By:	martin
Date:		Tue Dec 30 21:20:16 UTC 2003

Modified Files:
	src/lib/libc/db/btree: bt_put.c

Log Message:
When storing data size as 32bit int in an overflow page, copy the
length to a temporary u_int32_t variable and memmove from there to the
final destination - instead of copying the first four 0 bytes from a
64bit variable directly on big endian 64 bit platforms.

This makes sparc64 pass regress/lib/libc/db.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/lib/libc/db/btree/bt_put.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.