forked from pool/coreutils
74bac430a8
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=a7b4c6efd1592fb3aac750d37166b7e4
15 lines
597 B
Diff
15 lines
597 B
Diff
Index: src/sort.c
|
|
===================================================================
|
|
--- src/sort.c.orig 2010-05-07 16:52:08.068491875 +0200
|
|
+++ src/sort.c 2010-05-07 16:53:44.704992155 +0200
|
|
@@ -2720,7 +2720,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; \
|
|
} \
|
|
\
|