[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] uniname/uniname-tests: use pristine data files
From: |
Daiki Ueno |
Subject: |
[PATCH] uniname/uniname-tests: use pristine data files |
Date: |
Sat, 20 Jun 2015 16:14:13 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
I was a bit worried about that we bundled the modified copy of Unicode
data files (UnicodeDataNames.txt and NameAliases.txt), without the
original copyright notices.
I've installed the following change:
Author: Daiki Ueno <address@hidden>
Date: Sat Jun 20 15:33:07 2015 +0900
uniname/uniname-tests: use pristine data files
For copyright and maintenance reasons, use the data files from UCD
without modification.
* tests/uniname/test-uninames.c (FIELDLEN): Remove.
(getfield): Remove.
(aliases_count): New global variable.
(fill_names): Skip comments and empty lines in the input. Don't
use getfield.
(fill_aliases): Likewise.
(main): Change the expected command line arguments to:
NAMES... ["--" ALIASES...].
* tests/uniname/test-uninames.sh: Adjust to the change in
test-uninames.c.
* tests/uniname/UnicodeDataNames.txt: Remove.
* tests/uniname/UnicodeData.txt: New file, from Unicode 8.0.0.
* tests/uniname/NameAliases.txt: Use the pristine copy of the data
file from Unicode 8.0.0.
I'm omitting the patch itself, as it also contains large data.
Regards,
--
Daiki Ueno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] uniname/uniname-tests: use pristine data files,
Daiki Ueno <=