mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
d2a99fa303
2000-09-20 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80. (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half characters. * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits as equivalent to uppercase hexadecimal digits. 2000-09-20 Bruno Haible <haible@clisp.cons.org> * iconvdata/testdata/EUC-KR..UTF8: New file. * iconvdata/testdata/EUC-TW: New file. * iconvdata/testdata/EUC-TW..UTF8: New file. * iconvdata/testdata/EUC-JP: New file. * iconvdata/testdata/EUC-JP..UTF8: New file. * iconvdata/testdata/ISO-2022-JP: New file. * iconvdata/testdata/ISO-2022-JP..UTF8: New file. * iconvdata/testdata/ISO-2022-JP-2: New file. * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file. * iconvdata/testdata/ISO-2022-KR: Add a few more lines. * iconvdata/testdata/ISO-2022-KR..UTF8: New file. * iconvdata/testdata/ISO-2022-CN: New file. * iconvdata/testdata/ISO-2022-CN..UTF8: New file. * iconvdata/testdata/ISO-2022-CN-EXT: New file. * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file. * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2, ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW. (add_single_dir): New function. * elf/ldconfig.c (search_dir): Make more use of d_type information.
16 lines
591 B
Bash
16 lines
591 B
Bash
#! /bin/sh
|
|
echo "static const uint32_t iso88597_to_ucs4[96] = {"
|
|
sed -ne '/^[^[:space:]]*[[:space:]]*.x00/d' \
|
|
-e 's/^<U\(....\)>[[:space:]]*.x\([A-Fa-f].\).*/ [0x\2 - 0xA0] = 0x\1,/p' \
|
|
"$@" | sort -u
|
|
echo "};"
|
|
echo "static const struct gap from_idx[] = {"
|
|
sed -ne 's/^<U\(....\)>[[:space:]]*.x[A-Fa-f]..*/\1/p' \
|
|
"$@" | sort -u | $AWK -f gap.awk
|
|
echo " { start: 0xffff, end: 0xffff, idx: 0 }"
|
|
echo "};"
|
|
echo "static const char iso88597_from_ucs4[] = {"
|
|
sed -ne 's/^<U\(....\)>[[:space:]]*.x\([A-Fa-f].\).*/0x\1 0x\2/p' \
|
|
"$@" | sort -u | $AWK -f gaptab.awk
|
|
echo "};"
|