SHA256
1
0
forked from pool/coreutils
coreutils/coreutils-i18n-infloop.patch
Philipp Thomas 921495db7a - Update to 8.9:
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
2011-01-05 13:31:58 +00:00

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; \
} \
\