Changeset 18044

Show
Ignore:
Timestamp:
03.12.2008 17:29:20 (11 years ago)
Author:
mdewsnip
Message:

Fixed bug in customised code where not all of the hash table buckets had their key values unswapped.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/packages/gdbm/gdbm-1.8.3/bucket.c

    r18039 r18044  
    126126    //   strings are not affected by endianness), so convert these back to how they were originally 
    127127    int b; 
    128     for (b = 0; b < dbf->bucket->count; b++) 
     128    for (b = 0; b < dbf->header->bucket_elems; b++) 
    129129    { 
    130130      int* key_start = (int*) dbf->bucket->h_table[b].key_start;