git: gnu man(1): Recognize locales with Scripts in name
John Marino
marino at crater.dragonflybsd.org
Thu Aug 13 05:10:10 PDT 2015
commit 7614fff2f86499e443ce2ae44c6a742e53714039
Author: John Marino <draco at marino.st>
Date: Thu Aug 13 14:05:51 2015 +0200
gnu man(1): Recognize locales with Scripts in name
Our GNU man considered locales out of the form of xx_YY (where x is
anything except "_" and Y isn't checked) to be invalid.
However, we have valid locales like sr_Cyrl_RS which were being
rejected. Adjust the validation code to handle these names.
It also appears that man requires a codeset to be specified, e.g.
fr_FR would be ignored but fr_FR.UTF-8 would be accepted. I didn't
do anything about this.
Summary of changes:
gnu/usr.bin/man/man/man.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7614fff2f86499e443ce2ae44c6a742e53714039
--
DragonFly BSD source repository
More information about the Commits
mailing list