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-08-22 13:10:26 -07:00
2021-03-29 14:10:09 +01:00
2021-04-11 18:33:45 +01:00
2021-08-29 22:06:32 -06:00
2021-08-08 00:09:38 +01:00
2021-06-26 18:40:26 -07:00
2021-04-11 18:33:45 +01:00
2021-09-24 23:42:20 +01:00
2021-06-26 18:40:26 -07:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-09-15 15:35:53 +01:00
2021-09-24 00:39:05 +01:00
2021-09-15 20:44:18 +01:00
2021-01-01 16:36:09 +00:00
2021-07-28 12:30:12 -07:00
2021-07-28 12:30:12 -07:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-09-15 15:35:53 +01:00
2021-10-02 18:44:21 -07:00
2021-08-22 13:10:26 -07:00
2021-06-26 18:40:26 -07:00
2021-01-01 16:36:09 +00:00
2021-10-02 18:44:21 -07:00
2021-08-11 11:22:40 -07:00
2021-01-01 16:36:09 +00:00
2021-09-20 21:42:28 +01:00
2021-06-26 18:40:26 -07:00
2021-09-15 14:51:11 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-07-28 12:30:12 -07:00
2021-01-01 16:36:09 +00:00
2021-07-26 00:59:36 -07:00
2021-08-22 13:10:26 -07:00
2021-09-21 16:22:18 +01:00
2021-07-26 00:59:36 -07:00
2021-06-26 18:40:26 -07:00
2021-01-01 16:36:09 +00:00
2021-07-28 12:30:12 -07:00
2005-07-18 07:52:37 +00:00
2021-01-01 16:36:09 +00:00
2021-08-22 13:10:26 -07:00
2021-08-22 13:10:26 -07:00
2021-08-22 13:10:26 -07:00
2021-01-01 16:36:09 +00:00
2018-10-19 12:38:34 -07:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-09-15 15:08:28 -07:00
2021-01-01 16:36:09 +00:00
2021-03-25 11:21:15 -07:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-07-28 12:30:12 -07:00
2021-06-26 18:40:26 -07:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-05-08 14:57:33 +01:00
2021-09-15 20:44:16 +01:00
2021-09-15 15:26:22 +01:00
2021-09-16 15:42:33 +01:00
2021-10-02 18:08:33 -07:00
2012-01-09 21:51:59 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-01-01 16:36:09 +00:00
2021-08-22 13:10:26 -07:00
2021-01-01 16:36:09 +00:00
2021-06-26 18:40:26 -07:00
2021-07-31 11:17:18 -07:00
2021-08-22 13:10:26 -07:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-10-02 18:44:21 -07:00
2021-01-01 16:36:09 +00:00
2021-04-26 23:32:45 -07:00
2021-08-22 13:10:26 -07:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-10-02 18:44:21 -07:00
2021-06-26 18:40:26 -07:00
2021-04-11 18:33:45 +01:00
2021-06-26 18:40:26 -07:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-06-26 18:40:26 -07:00
2021-09-21 16:22:18 +01:00
2021-01-01 16:36:09 +00:00
2021-09-16 23:45:16 +01:00
2021-06-26 18:40:26 -07:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-10-02 18:44:21 -07:00
2021-07-26 00:59:36 -07:00
2021-04-11 18:33:45 +01:00
2021-07-28 12:30:12 -07:00
2021-09-15 15:08:28 -07:00
2021-04-11 18:33:45 +01:00
2021-10-10 16:06:28 -07:00
2021-09-15 15:08:28 -07:00
2021-09-16 15:21:05 +01:00
2021-01-01 16:36:09 +00:00
2021-07-26 15:42:29 +01:00
2021-04-11 18:33:45 +01:00
2021-09-15 20:44:18 +01:00
2021-09-15 20:44:18 +01:00
2021-01-01 16:36:09 +00: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-09-20 21:42:28 +01:00
2021-10-02 18:44:21 -07:00
2021-04-11 18:33:45 +01:00
2021-05-01 15:47:13 -07:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-07-28 12:30:12 -07:00
2021-01-01 16:36:09 +00:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2021-01-01 16:36:09 +00:00
2012-01-09 21:51:59 +01:00
2021-07-26 00:59:36 -07:00
2021-07-31 11:17:18 -07:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-05-02 20:51:37 +01:00
2021-09-15 15:08:28 -07:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00