From a982636bc45e70134c529ee3087c3bf665b53ff4 Mon Sep 17 00:00:00 2001 From: Brian Bennett Date: Fri, 13 Jan 2023 09:33:53 -0800 Subject: [PATCH] OS-8436 man section 8 should be searched earlier --- tools/mancf/main.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tools/mancf/main.c b/tools/mancf/main.c index 3f9bc22b3..e91ba057d 100644 --- a/tools/mancf/main.c +++ b/tools/mancf/main.c @@ -11,6 +11,7 @@ /* * Copyright 2016 Joyent, Inc. + * Copyright 2023 MNX Cloud, Inc. */ /* @@ -59,14 +60,14 @@ static const manorder_t cm_manorders[] = { * Prefer the base section before any named subsection: */ { "1", 100 }, - { "2", 100 }, - { "3", 100 }, - { "4", 100 }, - { "5", 100 }, - { "6", 100 }, - { "7", 100 }, - { "8", 100 }, - { "9", 100 }, + { "2", 101 }, + { "3", 101 }, + { "4", 101 }, + { "5", 101 }, + { "6", 101 }, + { "7", 101 }, + { "8", 100 }, /* Section 8 should be before section 2 */ + { "9", 101 }, /* * Shouldn't need these anymore, but prefer (1M) over (1B) anyway.