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

Diff for /mandoc/mandocdb.c between version 1.184 and 1.186

version 1.184, 2015/01/21 22:41:49 version 1.186, 2015/03/13 00:19:41
Line 672  treescan(void)
Line 672  treescan(void)
                                         say(path, "Skip pdf");                                          say(path, "Skip pdf");
                                 continue;                                  continue;
                         } else if ( ! use_all &&                          } else if ( ! use_all &&
                             ((FORM_SRC == dform && strcmp(fsec, dsec)) ||                              ((FORM_SRC == dform &&
                                 strncmp(fsec, dsec, strlen(dsec))) ||
                              (FORM_CAT == dform && strcmp(fsec, "0")))) {                               (FORM_CAT == dform && strcmp(fsec, "0")))) {
                                 if (warnings)                                  if (warnings)
                                         say(path, "Wrong filename suffix");                                          say(path, "Wrong filename suffix");
Line 941  mlink_add(struct mlink *mlink, const struct stat *st)
Line 942  mlink_add(struct mlink *mlink, const struct stat *st)
         assert(NULL == ohash_find(&mlinks, slot));          assert(NULL == ohash_find(&mlinks, slot));
         ohash_insert(&mlinks, slot, mlink);          ohash_insert(&mlinks, slot, mlink);
   
           memset(&inodev, 0, sizeof(inodev));  /* Clear padding. */
         inodev.st_ino = st->st_ino;          inodev.st_ino = st->st_ino;
         inodev.st_dev = st->st_dev;          inodev.st_dev = st->st_dev;
         slot = ohash_lookup_memory(&mpages, (char *)&inodev,          slot = ohash_lookup_memory(&mpages, (char *)&inodev,

Legend:
Removed from v.1.184  
changed lines
  Added in v.1.186

CVSweb