mirror of https://github.com/torvalds/linux.git
unicode: change the reference of database file
Commit 2b3d047870 ("unicode: Add utf8-data module") changed
the database file from 'utf8data.h' to 'utf8data.c' to build
separate module, but it seems forgot to update README.utf8data
, which may causes confusion. Update the README.utf8data and
the default 'UTF8_NAME' in 'mkutf8data.c'.
Signed-off-by: Gan Jie <ganjie182@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240912031932.1161-1-ganjie182@gmail.com
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
This commit is contained in:
parent
156bb2c569
commit
66715f005b
|
|
@ -1,4 +1,4 @@
|
||||||
The utf8data.h file in this directory is generated from the Unicode
|
The utf8data.c file in this directory is generated from the Unicode
|
||||||
Character Database for version 12.1.0 of the Unicode standard.
|
Character Database for version 12.1.0 of the Unicode standard.
|
||||||
|
|
||||||
The full set of files can be found here:
|
The full set of files can be found here:
|
||||||
|
|
@ -45,13 +45,13 @@ Then, build under fs/unicode/ with REGENERATE_UTF8DATA=1:
|
||||||
|
|
||||||
make REGENERATE_UTF8DATA=1 fs/unicode/
|
make REGENERATE_UTF8DATA=1 fs/unicode/
|
||||||
|
|
||||||
After sanity checking the newly generated utf8data.h file (the
|
After sanity checking the newly generated utf8data.c file (the
|
||||||
version generated from the 12.1.0 UCD should be 4,109 lines long, and
|
version generated from the 12.1.0 UCD should be 4,109 lines long, and
|
||||||
have a total size of 324k) and/or comparing it with the older version
|
have a total size of 324k) and/or comparing it with the older version
|
||||||
of utf8data.h_shipped, rename it to utf8data.h_shipped.
|
of utf8data.c_shipped, rename it to utf8data.c_shipped.
|
||||||
|
|
||||||
If you are a kernel developer updating to a newer version of the
|
If you are a kernel developer updating to a newer version of the
|
||||||
Unicode Character Database, please update this README.utf8data file
|
Unicode Character Database, please update this README.utf8data file
|
||||||
with the version of the UCD that was used, the md5sum and sha1sums of
|
with the version of the UCD that was used, the md5sum and sha1sums of
|
||||||
the *.txt files, before checking in the new versions of the utf8data.h
|
the *.txt files, before checking in the new versions of the utf8data.c
|
||||||
and README.utf8data files.
|
and README.utf8data files.
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
#define FOLD_NAME "CaseFolding.txt"
|
#define FOLD_NAME "CaseFolding.txt"
|
||||||
#define NORM_NAME "NormalizationCorrections.txt"
|
#define NORM_NAME "NormalizationCorrections.txt"
|
||||||
#define TEST_NAME "NormalizationTest.txt"
|
#define TEST_NAME "NormalizationTest.txt"
|
||||||
#define UTF8_NAME "utf8data.h"
|
#define UTF8_NAME "utf8data.c"
|
||||||
|
|
||||||
const char *age_name = AGE_NAME;
|
const char *age_name = AGE_NAME;
|
||||||
const char *ccc_name = CCC_NAME;
|
const char *ccc_name = CCC_NAME;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue