Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 09/26/1999 03:22:03
Module Name: basesrc
Committed By: scw
Date: Sun Sep 26 10:22:03 UTC 1999
Modified Files:
basesrc/include: db.h
Log Message:
Modify the P_{16,32}_SWAP() macros to avoid unaligned 16 and 32 bit
memory accesses. This fixes a problem seen on the Shark when trying
to use the db(3) functions to access a BIG_ENDIAN btree.
For some reason, the db(3) regression tests fail to spot this problem
on the Shark...
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 basesrc/include/db.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.