]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(set_ordering): Revert 1994-05-04 change to this function
authorJim Meyering <jim@meyering.net>
Mon, 25 Nov 1996 03:07:52 +0000 (03:07 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 25 Nov 1996 03:07:52 +0000 (03:07 +0000)
so that blanks are not unconditionally ignored when computing start
and end positions for numeric keys.  Reported by Markus Demleitner.

src/sort.c

index 573f9eb096fd87c814f4ee4d82db8660f42b4ce3..48758e058d0c4a1f9847f7dc88ff53d7999fc616 100644 (file)
@@ -1695,10 +1695,6 @@ set_ordering (register const char *s, struct keyfield *key,
          break;
        case 'n':
          key->numeric = 1;
-         if (blanktype == bl_start || blanktype == bl_both)
-           key->skipsblanks = 1;
-         if (blanktype == bl_end || blanktype == bl_both)
-           key->skipeblanks = 1;
          break;
        case 'r':
          key->reverse = 1;