[BACK]Return to mandocdb.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mandocdb.c between version 1.180 and 1.181

version 1.180, 2014/12/30 20:41:00 version 1.181, 2015/01/02 17:02:19
Line 350  mandocdb(int argc, char *argv[])
Line 350  mandocdb(int argc, char *argv[])
   
         mpages_info.alloc  = mlinks_info.alloc  = hash_alloc;          mpages_info.alloc  = mlinks_info.alloc  = hash_alloc;
         mpages_info.calloc = mlinks_info.calloc = hash_calloc;          mpages_info.calloc = mlinks_info.calloc = hash_calloc;
         mpages_info.free  = mlinks_info.free  = hash_free;          mpages_info.free   = mlinks_info.free   = hash_free;
           mpages_info.data   = mlinks_info.data   = NULL;
   
         mpages_info.key_offset = offsetof(struct mpage, inodev);          mpages_info.key_offset = offsetof(struct mpage, inodev);
         mlinks_info.key_offset = offsetof(struct mlink, file);          mlinks_info.key_offset = offsetof(struct mlink, file);
Line 1106  mpages_merge(struct mparse *mp)
Line 1107  mpages_merge(struct mparse *mp)
         str_info.alloc = hash_alloc;          str_info.alloc = hash_alloc;
         str_info.calloc = hash_calloc;          str_info.calloc = hash_calloc;
         str_info.free = hash_free;          str_info.free = hash_free;
           str_info.data = NULL;
         str_info.key_offset = offsetof(struct str, key);          str_info.key_offset = offsetof(struct str, key);
   
         if ( ! nodb)          if ( ! nodb)

Legend:
Removed from v.1.180  
changed lines
  Added in v.1.181

CVSweb