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

Diff for /mandoc/main.c between version 1.306 and 1.307

version 1.306, 2018/05/14 14:10:23 version 1.307, 2018/08/09 17:30:36
Line 790  fs_search(const struct mansearch *cfg, const struct ma
Line 790  fs_search(const struct mansearch *cfg, const struct ma
                                         return 1;                                          return 1;
                 }                  }
                 if (res != NULL && *ressz == lastsz &&                  if (res != NULL && *ressz == lastsz &&
                     strchr(*argv, '/') == NULL)                      strchr(*argv, '/') == NULL) {
                         warnx("No entry for %s in the manual.", *argv);                          if (cfg->sec == NULL)
                                   warnx("No entry for %s in the manual.",
                                       *argv);
                           else
                                   warnx("No entry for %s in section %s "
                                       "of the manual.", *argv, cfg->sec);
                   }
                 lastsz = *ressz;                  lastsz = *ressz;
                 argv++;                  argv++;
                 argc--;                  argc--;

Legend:
Removed from v.1.306  
changed lines
  Added in v.1.307

CVSweb