Files
coreutils/src
Paul Eggert 6cafb122fa sort: fix unlikely bug when '\377' < 0
* gl/lib/strintcmp.c (strintcmp): Don’t assume that the input
cannot contain ((char) -1), as this equals '\377' when char is
signed (assuming 8-bit char).
* src/sort.c (decimal_point): Now char, to make it clear
that it’s always in char range now.
(NON_CHAR): New constant.
(traverse_raw_number): Return char not unsigned char;
this is simpler and could be faster.  All callers changed.
(main): Do not convert decimal_point and thousands_sep to
unsigned char, as this can mishandle comparisons on
machines where char is signed and the input data contains
((char) -1).  Use NON_CHAR, not -1, as an out-of-range value for
thousands_sep.
2021-10-10 16:06:28 -07:00
..
2021-06-26 18:40:26 -07:00
2021-06-26 18:40:26 -07:00
2021-09-15 20:44:18 +01:00
2021-10-02 18:44:21 -07:00
2021-06-26 18:40:26 -07:00
2021-10-02 18:44:21 -07:00
2021-08-11 11:22:40 -07:00
2021-06-26 18:40:26 -07:00
2021-07-26 00:59:36 -07:00
2021-07-26 00:59:36 -07:00
2021-06-26 18:40:26 -07:00
2005-07-18 07:52:37 +00:00
2021-03-25 11:21:15 -07:00
2021-06-26 18:40:26 -07:00
…
…
…
2021-10-02 18:08:33 -07:00
2021-06-26 18:40:26 -07:00
2021-07-31 11:17:18 -07:00
2021-10-02 18:44:21 -07:00
2021-10-02 18:44:21 -07:00
2021-06-26 18:40:26 -07:00
2021-06-26 18:40:26 -07:00
2021-06-26 18:40:26 -07:00
2021-09-21 16:22:18 +01:00
2021-06-26 18:40:26 -07:00
2021-10-02 18:44:21 -07:00
2021-07-26 00:59:36 -07:00
2021-10-10 16:06:28 -07:00
2021-09-15 20:44:18 +01:00
2021-09-15 20:44:18 +01:00
2021-10-02 18:44:21 -07:00
2021-06-26 18:40:26 -07:00
2021-06-26 18:40:26 -07:00
2021-10-02 18:44:21 -07:00
2021-10-02 18:44:21 -07:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2021-07-26 00:59:36 -07:00
2021-07-31 11:17:18 -07:00