summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Burridge <rich.burridge@oracle.com>2010-08-17 14:37:41 -0700
committerRich Burridge <rich.burridge@oracle.com>2010-08-17 14:37:41 -0700
commit2b5d0e779e492fcdbfc163a5553804f3ca09354b (patch)
tree19edd7461ca818e38421b6a5780de6e8792da79a
parent5df82708d5dd3f4214863e7d3ce5a0ba6d0da2bf (diff)
downloadillumos-joyent-2b5d0e779e492fcdbfc163a5553804f3ca09354b.tar.gz
6526555 man -s does not work for sections containing uppercase letters
-rw-r--r--usr/src/cmd/man/src/man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/man/src/man.c b/usr/src/cmd/man/src/man.c
index 3e73ef39c9..41439fdb31 100644
--- a/usr/src/cmd/man/src/man.c
+++ b/usr/src/cmd/man/src/man.c
@@ -1755,7 +1755,7 @@ mandir(char **secv, char *path, char *name)
if (**secv == '\\') {
if (!eq(*secv + 1, *dv+plen))
continue;
- } else if (!match(*secv, *dv+plen, len)) {
+ } else if (strncasecmp(*secv, *dv+plen, len) != 0) {
/* check to see if directory name changed */
if (!all &&
(newsection = map_section(*secv, path))