[BACK]Return to mansearch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mansearch.c between version 1.59 and 1.60

version 1.59, 2017/08/02 13:28:35 version 1.60, 2017/08/22 17:50:02
Line 185 
Line 185 
                         mpage = *res + cur;                          mpage = *res + cur;
                         mandoc_asprintf(&mpage->file, "%s/%s",                          mandoc_asprintf(&mpage->file, "%s/%s",
                             paths->paths[i], page->file + 1);                              paths->paths[i], page->file + 1);
                           if (access(chdir_status ? page->file + 1 :
                               mpage->file, R_OK) == -1) {
                                   warn("%s", mpage->file);
                                   warnx("outdated mandoc.db contains "
                                       "bogus %s entry, run makewhatis %s",
                                       page->file + 1, paths->paths[i]);
                                   free(mpage->file);
                                   free(rp);
                                   continue;
                           }
                         mpage->names = buildnames(page);                          mpage->names = buildnames(page);
                         mpage->output = buildoutput(outkey, page);                          mpage->output = buildoutput(outkey, page);
                         mpage->ipath = i;                          mpage->ipath = i;

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60