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

Diff for /mandoc/main.c between version 1.319 and 1.320

version 1.319, 2019/03/03 13:02:11 version 1.320, 2019/03/04 13:01:57
Line 797  fs_search(const struct mansearch *cfg, const struct ma
Line 797  fs_search(const struct mansearch *cfg, const struct ma
                 }                  }
                 if (res != NULL && *ressz == lastsz &&                  if (res != NULL && *ressz == lastsz &&
                     strchr(*argv, '/') == NULL) {                      strchr(*argv, '/') == NULL) {
                         if (cfg->sec == NULL)                          if (cfg->arch != NULL &&
                               arch_valid(cfg->arch, OSENUM) == 0)
                                   warnx("Unknown architecture \"%s\".",
                                       cfg->arch);
                           else if (cfg->sec == NULL)
                                 warnx("No entry for %s in the manual.",                                  warnx("No entry for %s in the manual.",
                                     *argv);                                      *argv);
                         else                          else

Legend:
Removed from v.1.319  
changed lines
  Added in v.1.320

CVSweb