mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 05:20:06 +00:00
0274d73c41
* iconvdata/gap.awk: Likewise. * iconvdata/gen-8bit-gap-1.sh: Likewise. * iconvdata/gen-8bit-gap.sh: Likewise. * locale/C-address.c: Likewise. * locale/C-collate.c: Likewise. * locale/C-ctype.c: Likewise. * locale/C-identification.c: Likewise. * locale/C-measurement.c: Likewise. * locale/C-messages.c: Likewise. * locale/C-monetary.c: Likewise. * locale/C-name.c: Likewise. * locale/C-numeric.c: Likewise. * locale/C-paper.c: Likewise. * locale/C-telephone.c: Likewise. * locale/C-time.c: Likewise. * nscd/connections.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/pwdcache.c: Likewise. * stdio-common/vfprintf.c: Likewise. * stdlib/random.c: Likewise. * sysdeps/generic/siglist.c: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/ieee754/bits/nan.h: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c: Likewise. * sysdeps/unix/sysv/linux/sysctl.c: Likewise. * sysdeps/unix/sysv/linux/usleep.c: Likewise.
16 lines
597 B
Bash
16 lines
597 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 "};"
|