forked from pool/coreutils
c76409f6df
Copy from Base:System/coreutils based on submit request 39394 from user psmt OBS-URL: https://build.opensuse.org/request/show/39394 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=39
15 lines
538 B
Diff
15 lines
538 B
Diff
Index: src/sort.c
|
|
===================================================================
|
|
--- src/sort.c.orig 2010-05-04 17:27:49.103359264 +0200
|
|
+++ src/sort.c 2010-05-04 17:28:43.820359291 +0200
|
|
@@ -2540,7 +2540,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; \
|
|
} \
|
|
\
|