diff options
author | Ron Yorston <rmy@pobox.com> | 2019-03-28 08:33:21 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-03-28 08:33:21 +0000 |
commit | 7018ba917db63c493918af0a5bf2977480d52bc7 (patch) | |
tree | 3327665c55c3c3c1c723afb465eca3ec13140bdf /init | |
parent | 578e943afcd9c818f969502a94375b1a70548bf9 (diff) | |
download | busybox-w32-7018ba917db63c493918af0a5bf2977480d52bc7.tar.gz busybox-w32-7018ba917db63c493918af0a5bf2977480d52bc7.tar.bz2 busybox-w32-7018ba917db63c493918af0a5bf2977480d52bc7.zip |
man: don't skip default path which appears in config file
If the MANPATH environment variable isn't set a provisional default
path of /usr/man is placed in man_path_list. This is only used if a
configuration file doesn't contain an alternative path.
If a configuration file lists the default path first:
MANPATH /usr/man:/usr/share/man
add_MANPATH() sees that the default entry is already present and skips
it. As a result man_path_list only contains the second and subsequent
components of the configured MANPATH.
In such cases the path should not be skipped.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions