dect
/
linux-2.6
Archived
13
0
Fork 0

nls: fix (and rename) mac NLS table files and config options

The config options in the Kconfig file (with _CODEPAGE_ in the name)
didn't match the config option name in the Makefile (no _CODEPAGE_).

And both of them were of the hard-to-read MACXYZZY variety, which made
them hard to parse for normal humans: MACROMAN easily reads as "macro
man", not as "Mac Roman".

So rename the options to be consistent, and be NLS_MAC_xyzzy.  Rename
the files to be mac-xyzzy.c too, and drop the "nls" part entirely (it's
already in the directory name).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2012-06-01 19:51:22 -07:00
parent 92a8956364
commit 8b8c0daa2c
13 changed files with 33 additions and 33 deletions

View File

@ -452,7 +452,7 @@ config NLS_KOI8_U
input/output character sets. Say Y here for the preferred Ukrainian input/output character sets. Say Y here for the preferred Ukrainian
(koi8-u) and Belarusian (koi8-ru) character sets. (koi8-u) and Belarusian (koi8-ru) character sets.
config NLS_CODEPAGE_MACROMAN config NLS_MAC_ROMAN
tristate "Codepage macroman" tristate "Codepage macroman"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -467,7 +467,7 @@ config NLS_CODEPAGE_MACROMAN
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACCELTIC config NLS_MAC_CELTIC
tristate "Codepage macceltic" tristate "Codepage macceltic"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -481,7 +481,7 @@ config NLS_CODEPAGE_MACCELTIC
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACCENTEURO config NLS_MAC_CENTEURO
tristate "Codepage maccenteuro" tristate "Codepage maccenteuro"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -495,7 +495,7 @@ config NLS_CODEPAGE_MACCENTEURO
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACCROATIAN config NLS_MAC_CROATIAN
tristate "Codepage maccroatian" tristate "Codepage maccroatian"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -509,7 +509,7 @@ config NLS_CODEPAGE_MACCROATIAN
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACCYRILLIC config NLS_MAC_CYRILLIC
tristate "Codepage maccyrillic" tristate "Codepage maccyrillic"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -523,7 +523,7 @@ config NLS_CODEPAGE_MACCYRILLIC
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACGAELIC config NLS_MAC_GAELIC
tristate "Codepage macgaelic" tristate "Codepage macgaelic"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -537,7 +537,7 @@ config NLS_CODEPAGE_MACGAELIC
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACGREEK config NLS_MAC_GREEK
tristate "Codepage macgreek" tristate "Codepage macgreek"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -551,7 +551,7 @@ config NLS_CODEPAGE_MACGREEK
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACICELAND config NLS_MAC_ICELAND
tristate "Codepage maciceland" tristate "Codepage maciceland"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -565,7 +565,7 @@ config NLS_CODEPAGE_MACICELAND
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACINUIT config NLS_MAC_INUIT
tristate "Codepage macinuit" tristate "Codepage macinuit"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -579,7 +579,7 @@ config NLS_CODEPAGE_MACINUIT
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACROMANIAN config NLS_MAC_ROMANIAN
tristate "Codepage macromanian" tristate "Codepage macromanian"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in
@ -593,7 +593,7 @@ config NLS_CODEPAGE_MACROMANIAN
If unsure, say Y. If unsure, say Y.
config NLS_CODEPAGE_MACTURKISH config NLS_MAC_TURKISH
tristate "Codepage macturkish" tristate "Codepage macturkish"
---help--- ---help---
The Apple HFS file system family can deal with filenames in The Apple HFS file system family can deal with filenames in

View File

@ -42,14 +42,14 @@ obj-$(CONFIG_NLS_ISO8859_15) += nls_iso8859-15.o
obj-$(CONFIG_NLS_KOI8_R) += nls_koi8-r.o obj-$(CONFIG_NLS_KOI8_R) += nls_koi8-r.o
obj-$(CONFIG_NLS_KOI8_U) += nls_koi8-u.o nls_koi8-ru.o obj-$(CONFIG_NLS_KOI8_U) += nls_koi8-u.o nls_koi8-ru.o
obj-$(CONFIG_NLS_UTF8) += nls_utf8.o obj-$(CONFIG_NLS_UTF8) += nls_utf8.o
obj-$(CONFIG_NLS_MACCELTIC) += nls_macceltic.o obj-$(CONFIG_NLS_MAC_CELTIC) += mac-celtic.o
obj-$(CONFIG_NLS_MACCENTEURO) += nls_maccenteuro.o obj-$(CONFIG_NLS_MAC_CENTEURO) += mac-centeuro.o
obj-$(CONFIG_NLS_MACCROATIAN) += nls_maccroatian.o obj-$(CONFIG_NLS_MAC_CROATIAN) += mac-croatian.o
obj-$(CONFIG_NLS_MACCYRILLIC) += nls_maccyrillic.o obj-$(CONFIG_NLS_MAC_CYRILLIC) += mac-cyrillic.o
obj-$(CONFIG_NLS_MACGAELIC) += nls_macgaelic.o obj-$(CONFIG_NLS_MAC_GAELIC) += mac-gaelic.o
obj-$(CONFIG_NLS_MACGREEK) += nls_macgreek.o obj-$(CONFIG_NLS_MAC_GREEK) += mac-greek.o
obj-$(CONFIG_NLS_MACICELAND) += nls_maciceland.o obj-$(CONFIG_NLS_MAC_ICELAND) += mac-iceland.o
obj-$(CONFIG_NLS_MACINUIT) += nls_macinuit.o obj-$(CONFIG_NLS_MAC_INUIT) += mac-inuit.o
obj-$(CONFIG_NLS_MACROMANIAN) += nls_macromanian.o obj-$(CONFIG_NLS_MAC_ROMANIAN) += mac-romanian.o
obj-$(CONFIG_NLS_MACROMAN) += nls_macroman.o obj-$(CONFIG_NLS_MAC_ROMAN) += mac-roman.o
obj-$(CONFIG_NLS_MACTURKISH) += nls_macturkish.o obj-$(CONFIG_NLS_MAC_TURKISH) += mac-turkish.o

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_macceltic.c * linux/fs/nls/mac-celtic.c
* *
* Charset macceltic translation tables. * Charset macceltic translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_maccenteuro.c * linux/fs/nls/mac-centeuro.c
* *
* Charset maccenteuro translation tables. * Charset maccenteuro translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_maccroatian.c * linux/fs/nls/mac-croatian.c
* *
* Charset maccroatian translation tables. * Charset maccroatian translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_maccyrillic.c * linux/fs/nls/mac-cyrillic.c
* *
* Charset maccyrillic translation tables. * Charset maccyrillic translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_macgaelic.c * linux/fs/nls/mac-gaelic.c
* *
* Charset macgaelic translation tables. * Charset macgaelic translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_macgreek.c * linux/fs/nls/mac-greek.c
* *
* Charset macgreek translation tables. * Charset macgreek translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_maciceland.c * linux/fs/nls/mac-iceland.c
* *
* Charset maciceland translation tables. * Charset maciceland translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_macinuit.c * linux/fs/nls/mac-inuit.c
* *
* Charset macinuit translation tables. * Charset macinuit translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_macroman.c * linux/fs/nls/mac-roman.c
* *
* Charset macroman translation tables. * Charset macroman translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_macromanian.c * linux/fs/nls/mac-romanian.c
* *
* Charset macromanian translation tables. * Charset macromanian translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset

View File

@ -1,5 +1,5 @@
/* /*
* linux/fs/nls/nls_macturkish.c * linux/fs/nls/mac-turkish.c
* *
* Charset macturkish translation tables. * Charset macturkish translation tables.
* Generated automatically from the Unicode and charset * Generated automatically from the Unicode and charset