921495db7a
Bug fixes split no longer creates files with a suffix length that is dependent on the number of bytes or lines per file. [bug introduced in coreutils-8.8] OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=79
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; \
|
|
} \
|
|
\
|