diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-05-27 21:36:00 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-05-27 21:36:00 -0400 |
commit | 97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9 (patch) | |
tree | 01e743743f40c220b87fb01937418320290a7007 /src/crypt/crypt_r.c | |
parent | f9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50 (diff) | |
download | musl-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/crypt/crypt_r.c')
0 files changed, 0 insertions, 0 deletions