Skip to content

Commit

Permalink
OS-8436 man section 8 should be searched earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamat committed Jan 13, 2023
1 parent 6c90e37 commit a982636
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions tools/mancf/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

/*
* Copyright 2016 Joyent, Inc.
* Copyright 2023 MNX Cloud, Inc.
*/

/*
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a982636

Please sign in to comment.