Return to main.c CVS log | Up to [local] / src / usr.bin / mandoc |
version 1.144, 2015/07/17 22:35:36 | version 1.145, 2015/07/18 05:46:52 | ||
---|---|---|---|
|
|
||
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) |