File coreutils-i18n-infloop.patch of Package coreutils.import4829

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;                                                        \
             }                                                                \
                                                                         \
openSUSE Build Service is sponsored by