Jim Meyering <[EMAIL PROTECTED]> writes:

> FYI, I've filed this bug report:
>
>   http://bugzilla.redhat.com/249315
>
> If someone fixes it before I do (e.g. for another distro),
> please let me know.

If they use the same i18n patch, then this should work (will appear soon
in openSUSE Factory):

--- src/sort.c
+++ src/sort.c
@@ -2341,7 +2341,10 @@ keycompare_mb (const struct line *a, con
       size_t lenb = limb <= textb ? 0 : limb - textb;
 
       /* Actually compare the fields. */
-      if (key->numeric | key->general_numeric)
+
+      if (key->random)
+       diff = compare_random (texta, lena, textb, lenb);
+      else if (key->numeric | key->general_numeric)
        {
          char savea = *lima, saveb = *limb;
 

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to