SHA256
1
0
forked from pool/coreutils
coreutils/i18n-infloop.diff

13 lines
334 B
Diff

--- src/sort.c
+++ src/sort.c
@@ -1838,7 +1838,8 @@
if (MBLENGTH == (size_t)-2 || MBLENGTH == (size_t)-1) \
STATE = state_bak; \
if (!ignore) \
- COPY[NEW_LEN++] = TEXT[i++]; \
+ COPY[NEW_LEN++] = TEXT[i]; \
+ i++; \
continue; \
} \
\