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

Diff for /mandoc/main.c between version 1.239 and 1.240

version 1.239, 2015/07/17 22:38:29 version 1.240, 2015/07/18 05:47:32
Line 570  fs_lookup(const struct manpaths *paths, size_t ipath,
Line 570  fs_lookup(const struct manpaths *paths, size_t ipath,
                 free(file);                  free(file);
         }          }
   
         mandoc_asprintf(&file, "%s/man%s/%s.*",          mandoc_asprintf(&file, "%s/man%s/%s.[01-9]*",
             paths->paths[ipath], sec, name);              paths->paths[ipath], sec, name);
         globres = glob(file, 0, NULL, &globinfo);          globres = glob(file, 0, NULL, &globinfo);
         if (globres != 0 && globres != GLOB_NOMATCH)          if (globres != 0 && globres != GLOB_NOMATCH)

Legend:
Removed from v.1.239  
changed lines
  Added in v.1.240

CVSweb