From 80cf6ab26ec51e17476b9f71a5732c4dffe437ea Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 10 Jun 2001 15:57:40 +0000 Subject: [PATCH] Fix for new locale names --- gnu/usr.bin/man/man/man.c | 3 +++ gnu/usr.bin/man/man/man.man | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c index 01039532338..7c9481cb10b 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -101,7 +101,10 @@ struct ltable { }; static struct ltable ltable[] = { {"KOI8-R", "koi8-r"}, + {"ISO8859-1", "latin1"}, {"ISO_8859-1", "latin1"}, + {"ISO8859-15", "latin1"}, + {"ISO_8859-15", "latin1"}, {NULL} }; #endif diff --git a/gnu/usr.bin/man/man/man.man b/gnu/usr.bin/man/man/man.man index 1f422ee80e4..19cbd07c781 100644 --- a/gnu/usr.bin/man/man/man.man +++ b/gnu/usr.bin/man/man/man.man @@ -136,7 +136,7 @@ will search in the following subdirectories, in the order of precedence: .El .Pp For example, for -.Dq de_DE.ISO_8859-1 +.Dq de_DE.ISO8859-1 locale, .Nm will search in the following subdirectories of the @@ -145,11 +145,11 @@ manpath component: .Pp .Bl -item -offset indent -compact .It -.Pa /usr/share/man/de_DE.ISO_8859-1 +.Pa /usr/share/man/de_DE.ISO8859-1 .It -.Pa /usr/share/man/de.ISO_8859-1 +.Pa /usr/share/man/de.ISO8859-1 .It -.Pa /usr/share/man/en.ISO_8859-1 +.Pa /usr/share/man/en.ISO8859-1 .El .Pp Finally,