1.1 --- a/templates/native/iconv.c Sun Nov 14 00:50:17 2021 +0100
1.2 +++ b/templates/native/iconv.c Sun Nov 28 02:03:21 2021 +0100
1.3 @@ -87,8 +87,10 @@
1.4
1.5 /* Mutate the state to indicate the next input buffer position. */
1.6
1.7 - f->attrs[1] = __new_int(start + remaining - inbytesleft);
1.8 - f->attrs[2] = __new_int(inbytesleft);
1.9 + f->attrs[1] = __RAWVALUE(0);
1.10 + f->attrs[2] = __RAWVALUE(0);
1.11 + __store_target(&f->attrs[1], __new_int(start + remaining - inbytesleft));
1.12 + __store_target(&f->attrs[2], __new_int(inbytesleft));
1.13
1.14 /* Incomplete sequence: raise the string in an OSError instead. */
1.15