Changeset 18097


Ignore:
Timestamp:
2008-12-05T13:31:25+13:00 (15 years ago)
Author:
mdewsnip
Message:

Added some debugging statements, commented out.

File:
1 edited

Legend:

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

    r18074 r18097  
    395395    }
    396396
     397      /* GREENSTONE CUSTOMISATION: Debugging output
     398      printf("\n");
     399      printf("Header magic: %x\n", partial_header.header_magic);
     400      printf("Block size: %d\n", partial_header.block_size);
     401      printf("Dir: %d\n", partial_header.dir);
     402      printf("Dir size: %d\n", partial_header.dir_size);
     403      printf("Dir bits: %d\n", partial_header.dir_bits);
     404      printf("Bucket size: %d\n", partial_header.bucket_size);
     405      printf("Bucket elems: %d\n", partial_header.bucket_elems);
     406      printf("Next block: %d\n", partial_header.next_block);
     407      printf("\n");
     408      */
     409
    397410      /* It is a good database, read the entire header. */
    398411      dbf->header = (gdbm_file_header *) malloc (partial_header.block_size);
Note: See TracChangeset for help on using the changeset viewer.