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

Diff for /mandoc/mandocdb.c between version 1.231 and 1.233

version 1.231, 2016/10/18 14:15:33 version 1.233, 2016/10/20 16:31:00
Line 120  static void  dbadd_mlink(const struct mlink *mlink);
Line 120  static void  dbadd_mlink(const struct mlink *mlink);
 static  void     dbprune(struct dba *);  static  void     dbprune(struct dba *);
 static  void     dbwrite(struct dba *);  static  void     dbwrite(struct dba *);
 static  void     filescan(const char *);  static  void     filescan(const char *);
   #if HAVE_FTS_COMPARE_CONST
   static  int      fts_compare(const FTSENT *const *, const FTSENT *const *);
   #else
 static  int      fts_compare(const FTSENT **, const FTSENT **);  static  int      fts_compare(const FTSENT **, const FTSENT **);
   #endif
 static  void     mlink_add(struct mlink *, const struct stat *);  static  void     mlink_add(struct mlink *, const struct stat *);
 static  void     mlink_check(struct mpage *, struct mlink *);  static  void     mlink_check(struct mpage *, struct mlink *);
 static  void     mlink_free(struct mlink *);  static  void     mlink_free(struct mlink *);
Line 547  usage:
Line 551  usage:
  * at the beginning, process directory entries in reverse alpha order.   * at the beginning, process directory entries in reverse alpha order.
  */   */
 static int  static int
   #if HAVE_FTS_COMPARE_CONST
   fts_compare(const FTSENT *const *a, const FTSENT *const *b)
   #else
 fts_compare(const FTSENT **a, const FTSENT **b)  fts_compare(const FTSENT **a, const FTSENT **b)
   #endif
 {  {
         return -strcmp((*a)->fts_name, (*b)->fts_name);          return -strcmp((*a)->fts_name, (*b)->fts_name);
 }  }
Line 1731  putkeys(const struct mpage *mpage, char *cp, size_t sz
Line 1739  putkeys(const struct mpage *mpage, char *cp, size_t sz
                         name_mask &= ~NAME_FIRST;                          name_mask &= ~NAME_FIRST;
                 if (debug > 1)                  if (debug > 1)
                         say(mpage->mlinks->file,                          say(mpage->mlinks->file,
                             "Adding name %*s, bits=0x%llu", (int)sz, cp, v);                              "Adding name %*s, bits=0x%llx", (int)sz, cp, v);
         } else {          } else {
                 htab = &strings;                  htab = &strings;
                 if (debug > 1)                  if (debug > 1)

Legend:
Removed from v.1.231  
changed lines
  Added in v.1.233

CVSweb