Pay attention to the section number, even if MANPATH or -M is specified.

This commit is contained in:
mycroft 1995-04-20 04:09:32 +00:00
parent a1e0e43227
commit c79429853d
1 changed files with 4 additions and 5 deletions

View File

@ -240,12 +240,11 @@ main(argc, argv)
}
/*
* 4: If none of MANPATH, -M, or -m were specified, and a section was,
* rewrite the section's paths (if they have a trailing slash) to
* append the _subdir list and the machine. This then becomes the
* _default list.
* 4: If no -m was specified, and a section was, rewrite the section's
* paths (if they have a trailing slash) to append the _subdir list
* and the machine. This then becomes the _default list.
*/
if (p_path == NULL && p_add == NULL && section != NULL) {
if (p_add == NULL && section != NULL) {
sectnewp = addlist("_section_new");
for (e_sectp = section->list.tqh_first;
e_sectp != NULL; e_sectp = e_sectp->q.tqe_next) {