FreeBSD Bugzilla – Attachment 242606 Details for
Bug 271830
man: ignores MANSECT and -S
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the issue
patch-man.diff (text/plain), 610 bytes, created by
Mohamed Akram
on 2023-06-05 09:16:58 UTC
(
hide
)
Description:
patch to fix the issue
Filename:
MIME Type:
Creator:
Mohamed Akram
Created:
2023-06-05 09:16:58 UTC
Size:
610 bytes
patch
obsolete
>--- man.sh.orig 2023-06-05 09:11:06.617877000 +0000 >+++ man.sh 2023-06-05 09:12:59.303571000 +0000 >@@ -603,7 +603,7 @@ > fi > > IFS=: >- for sect in $man_default_sections; do >+ for sect in $MANSECT; do > if [ "$sect" = "$1" ]; then > decho "Detected manual section as first arg: $1" > MANSECT="$1" >@@ -787,8 +787,8 @@ > trim "${line#MANCONFIG}" > config_local="$tstr" > ;; >- # Set variables in the form of FOO_BAR >- *_*[\ \ ]*) var="${line%%[\ \ ]*}" >+ # Set other variables >+ *[\ \ ]*) var="${line%%[\ \ ]*}" > trim "${line#$var}" > eval "$var=\"$tstr\"" > decho " Parsed $var" 3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271830
:
242606
|
242612
|
242613
|
242614