Skip to content

Commit 66715f0

Browse files
Gan Jiekrisman
authored andcommitted
unicode: change the reference of database file
Commit 2b3d047 ("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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
1 parent 156bb2c commit 66715f0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

fs/unicode/README.utf8data

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The utf8data.h file in this directory is generated from the Unicode
1+
The utf8data.c file in this directory is generated from the Unicode
22
Character Database for version 12.1.0 of the Unicode standard.
33

44
The full set of files can be found here:
@@ -45,13 +45,13 @@ Then, build under fs/unicode/ with REGENERATE_UTF8DATA=1:
4545

4646
make REGENERATE_UTF8DATA=1 fs/unicode/
4747

48-
After sanity checking the newly generated utf8data.h file (the
48+
After sanity checking the newly generated utf8data.c file (the
4949
version generated from the 12.1.0 UCD should be 4,109 lines long, and
5050
have a total size of 324k) and/or comparing it with the older version
51-
of utf8data.h_shipped, rename it to utf8data.h_shipped.
51+
of utf8data.c_shipped, rename it to utf8data.c_shipped.
5252

5353
If you are a kernel developer updating to a newer version of the
5454
Unicode Character Database, please update this README.utf8data file
5555
with the version of the UCD that was used, the md5sum and sha1sums of
56-
the *.txt files, before checking in the new versions of the utf8data.h
56+
the *.txt files, before checking in the new versions of the utf8data.c
5757
and README.utf8data files.

fs/unicode/mkutf8data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define FOLD_NAME "CaseFolding.txt"
3737
#define NORM_NAME "NormalizationCorrections.txt"
3838
#define TEST_NAME "NormalizationTest.txt"
39-
#define UTF8_NAME "utf8data.h"
39+
#define UTF8_NAME "utf8data.c"
4040

4141
const char *age_name = AGE_NAME;
4242
const char *ccc_name = CCC_NAME;

0 commit comments

Comments
 (0)