about summary refs log tree commit diff
path: root/src/math/j0.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-05-27 21:36:00 -0400
committerRich Felker <dalias@aerifal.cx>2017-05-27 21:36:00 -0400
commit97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9 (patch)
tree01e743743f40c220b87fb01937418320290a7007 /src/math/j0.c
parentf9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50 (diff)
downloadmusl-97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9.tar.gz
musl-97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9.tar.xz
musl-97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9.zip
fix iconv conversions to legacy 8bit encodings
there was missing reverse-conversion logic for the case, handled
specially in the character set tables, where a byte represents a
unicode codepoint with the same value.

this patch adds code to handle the case, and refactors the two-level
10-bit table lookup for legacy character sets into a function to avoid
repeating it yet another time as part of the fix.
Diffstat (limited to 'src/math/j0.c')
0 files changed, 0 insertions, 0 deletions