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

Diff for /mandoc/mandocdb.c between version 1.270 and 1.272

version 1.270, 2021/11/05 17:04:10 version 1.272, 2023/04/28 19:11:03
Line 1 
Line 1 
 /* $Id$ */  /* $Id$ */
 /*  /*
  * Copyright (c) 2011-2020 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2011-2021 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2016 Ed Maste <emaste@freebsd.org>   * Copyright (c) 2016 Ed Maste <emaste@freebsd.org>
  *   *
Line 533  out:
Line 533  out:
         ohash_delete(&mpages);          ohash_delete(&mpages);
         ohash_delete(&mlinks);          ohash_delete(&mlinks);
 #if DEBUG_MEMORY  #if DEBUG_MEMORY
         mandoc_d_finish();          mandoc_dbg_finish();
 #endif  #endif
         return exitcode;          return exitcode;
 usage:  usage:
Line 804  filescan(const char *infile)
Line 804  filescan(const char *infile)
          * We have to do lstat(2) before realpath(3) loses           * We have to do lstat(2) before realpath(3) loses
          * the information whether this is a symbolic link.           * the information whether this is a symbolic link.
          * We need to know that because for symbolic links,           * We need to know that because for symbolic links,
          * we want to use the orginal file name, while for           * we want to use the original file name, while for
          * regular files, we want to use the real path.           * regular files, we want to use the real path.
          */           */
         if (lstat(infile, &st) == -1) {          if (lstat(infile, &st) == -1) {

Legend:
Removed from v.1.270  
changed lines
  Added in v.1.272

CVSweb