forked from pool/coreutils
d931a3df9c
Accepted submit request 57153 from user psmt OBS-URL: https://build.opensuse.org/request/show/57153 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=49
15 lines
958 B
Diff
15 lines
958 B
Diff
Index: src/sort.c
|
|
===================================================================
|
|
--- src/sort.c.orig 2011-01-05 14:27:40.227218942 +0100
|
|
+++ src/sort.c 2011-01-05 14:27:40.574228931 +0100
|
|
@@ -3134,7 +3134,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; \
|
|
} \
|
|
\
|