gnu man(1): Recognize locales with Scripts in name
authorJohn Marino <draco@marino.st>
Thu, 13 Aug 2015 12:05:51 +0000 (14:05 +0200)
committerJohn Marino <draco@marino.st>
Thu, 13 Aug 2015 12:09:55 +0000 (14:09 +0200)
commit7614fff2f86499e443ce2ae44c6a742e53714039
treeeab7de6bffe2332110186a1a90094bdabfe0cc16
parenta187448dff085b77e75c884a0ac02269cef620b3
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.
gnu/usr.bin/man/man/man.c