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

Diff for /mandoc/mandocdb.c between version 1.71 and 1.73

version 1.71, 2013/07/02 13:26:52 version 1.73, 2013/10/18 23:07:23
Line 685  filescan(const char *file)
Line 685  filescan(const char *file)
                 exitcode = (int)MANDOCLEVEL_BADARG;                  exitcode = (int)MANDOCLEVEL_BADARG;
                 say(file, NULL);                  say(file, NULL);
                 return;                  return;
         } else if (strstr(buf, basedir) != buf) {          } else if (OP_TEST != op && strstr(buf, basedir) != buf) {
                 exitcode = (int)MANDOCLEVEL_BADARG;                  exitcode = (int)MANDOCLEVEL_BADARG;
                 say("", "%s: outside base directory", buf);                  say("", "%s: outside base directory", buf);
                 return;                  return;
Line 1792  dbindex(struct mchars *mc, int form, const struct of *
Line 1792  dbindex(struct mchars *mc, int form, const struct of *
                 return;                  return;
   
         desc = "";          desc = "";
         if (NULL != of->desc) {          if (NULL != of->desc && '\0' != *of->desc) {
                 key = ohash_find(&strings,                  key = ohash_find(&strings,
                         ohash_qlookup(&strings, of->desc));                          ohash_qlookup(&strings, of->desc));
                 assert(NULL != key);                  assert(NULL != key);

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.73

CVSweb