1 --- hash_page.c.orig 2006-04-22 23:04:55.000000000 -0700
2 +++ hash_page.c 2006-04-23 00:23:46.000000000 -0700
8 +#include "hash_extern.h"
10 static u_int32_t *fetch_bitmap(HTAB *, int);
11 static u_int32_t first_free(u_int32_t);
13 int is_bucket, is_bitmap;
20 if ((hashp->fp == -1) && open_temp(hashp))
23 if (hashp->LORDER != BYTE_ORDER) {
28 max = hashp->BSIZE >> 2; /* divide by 4 */
33 + /* 4485533 - reswap the in-memory copy */
34 + if (hashp->LORDER != BYTE_ORDER) {
38 + for (i = 0; i < max; i++)
39 + M_32_SWAP(((int *)p)[i]);
41 + for (i = 0; i <= max; i++)
42 + M_16_SWAP(((u_int16_t *)p)[i]);