[Bug 204571] sort with multiple numerical keys fail in sparc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 15 21:25:38 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204571

            Bug ID: 204571
           Summary: sort with multiple numerical keys fail in sparc64
           Product: Base System
           Version: 10.2-STABLE
          Hardware: sparc64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rodrigo at FreeBSD.org

If you have a file with numerical values like the one bellow :

% cat testfile
12 1 3
19 1 6
2 1 1
7 1 2
1 2 1
16 2 4

% sort -k2n testfile
2 1 1
7 1 2
12 1 3
19 1 6
1 2 1
16 2 4

% sort -k2n -k1n testfile

returns nothing but error 255
The same if we try any combination if the first key is numeric

Investigations on the code shows that we fail in mt_sort() function.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list