forked from pool/coreutils
9c9a8d0166
Update to 8.16 + Security fix already released for SLES OBS-URL: https://build.opensuse.org/request/show/114847 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=75
15 lines
958 B
Diff
15 lines
958 B
Diff
Index: src/sort.c
|
|
===================================================================
|
|
--- src/sort.c.orig 2012-04-16 13:23:11.726363043 +0200
|
|
+++ src/sort.c 2012-04-16 13:23:20.474151036 +0200
|
|
@@ -3161,7 +3161,8 @@ keycompare_mb (const struct line *a, con
|
|
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; \
|
|
} \
|
|
\
|