man: find posix man pages
authorJohn Spencer <maillist-busybox@barfooze.de>
Sun, 25 Aug 2013 21:38:25 +0000 (17:38 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 25 Aug 2013 21:38:25 +0000 (17:38 -0400)
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>
miscutils/man.c

index e380fdabaf2b984a58edde8ea57637173dae62bf..d3e832bd7e43dfb8bfb7be197c54cbad10faa742 100644 (file)
@@ -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]));