aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Spencer <maillist-busybox@barfooze.de>2013-08-25 17:38:25 -0400
committerMike Frysinger <vapier@gentoo.org>2013-08-25 17:38:25 -0400
commitd6ae4fb446daedfe3073d67be655942e9fa7eb18 (patch)
treec7a289f90b74057439da135fbcb74a7f1bf27308
parentdeebdf59b5cd8cba5a44a6a4fa9a90a87969a181 (diff)
downloadbusybox-d6ae4fb446daedfe3073d67be655942e9fa7eb18.tar.gz
man: find posix man pages
Add the 0p/1p/3p sections to the search. Signed-off-by: John Spencer <maillist-busybox@barfooze.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--miscutils/man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/man.c b/miscutils/man.c
index e380fdaba..d3e832bd7 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -162,7 +162,7 @@ int man_main(int argc UNUSED_PARAM, char **argv)
opt = getopt32(argv, "+aw");
argv += optind;
- sec_list = xstrdup("1:2:3:4:5:6:7:8:9");
+ sec_list = xstrdup("0p:1:1p:2:3:3p:4:5:6:7:8:9");
/* Last valid man_path_list[] is [0x10] */
count_mp = 0;
man_path_list = xzalloc(0x11 * sizeof(man_path_list[0]));