aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-11-05 19:01:02 +0100
committerFelix Fietkau <nbd@nbd.name>2017-11-09 12:35:31 +0100
commit981be0c3bd96ccf0636bb473f21403319e4b2742 (patch)
tree9f9ea99bb98357dac6caceafa4850349b04186f6 /toolchain/musl/patches
parent6bcc1c5331c797004e1b43168eb116d2d14b0102 (diff)
downloadupstream-981be0c3bd96ccf0636bb473f21403319e4b2742.tar.gz
upstream-981be0c3bd96ccf0636bb473f21403319e4b2742.tar.bz2
upstream-981be0c3bd96ccf0636bb473f21403319e4b2742.zip
toolchain/musl: update to version 1.1.18
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/musl/patches')
-rw-r--r--toolchain/musl/patches/900-iconv_size_hack.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/musl/patches/900-iconv_size_hack.patch b/toolchain/musl/patches/900-iconv_size_hack.patch
index 343915fb06..db18fceb17 100644
--- a/toolchain/musl/patches/900-iconv_size_hack.patch
+++ b/toolchain/musl/patches/900-iconv_size_hack.patch
@@ -32,7 +32,7 @@
static int fuzzycmp(const unsigned char *a, const unsigned char *b)
{
-@@ -216,6 +220,7 @@ size_t iconv(iconv_t cd0, char **restric
+@@ -224,6 +228,7 @@ size_t iconv(iconv_t cd0, char **restric
c = ((c-0xd7c0)<<10) + (d-0xdc00);
}
break;
@@ -40,14 +40,14 @@
case SHIFT_JIS:
if (c-0xa1 <= 0xdf-0xa1) {
c += 0xff61-0xa1;
-@@ -362,6 +367,7 @@ size_t iconv(iconv_t cd0, char **restric
+@@ -370,6 +375,7 @@ size_t iconv(iconv_t cd0, char **restric
c = ksc[c][d];
if (!c) goto ilseq;
break;
+#endif
default:
if (c < 128+type) break;
- c -= 128+type;
+ c = legacy_map(map, c);
--- a/src/locale/codepages.h
+++ b/src/locale/codepages.h
@@ -118,6 +118,7 @@