Brian Inglis
9a863f713a
fix strverscmp comparison of digit sequence with non-digits
...
From: Rich Felker <dalias@aerifal.cx>
Date: Mon, 7 Nov 2022 22:17:55 -0500
the rule that longest digit sequence not beginning with a zero is
greater only applies when both sequences being compared are
non-degenerate. this is spelled out explicitly in the man page, which
may be deemed authoritative for this nonstandard function: "If one or
both of these is empty, then return what strcmp(3) would have
returned..."
we were wrongly treating any sequence of digits not beginning with a
zero as greater than a non-digit in the other string.
Signed-off-by: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
2024-01-08 17:01:25 +01:00
..
2018-03-12 10:17:20 +01:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2023-02-20 11:01:18 +01:00
2016-03-18 12:33:40 +01:00
2017-07-05 13:49:48 +02:00
2017-07-05 13:49:48 +02:00
2017-07-05 13:49:48 +02:00
2017-07-05 13:49:48 +02:00
2017-07-05 13:49:48 +02:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:29 -06:00
2022-03-16 21:18:25 -04:00
2023-01-03 14:52:47 -05:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-08-29 16:05:37 +02:00
2019-08-14 10:39:37 +02:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2021-07-06 15:35:37 +02:00
2018-03-12 10:17:20 +01:00
2018-03-12 10:17:20 +01:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2021-09-03 12:51:30 +02:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2023-12-19 23:23:31 -05:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2022-07-13 06:55:41 +02:00
2017-08-30 15:10:07 +02:00
2022-01-05 17:11:47 +01:00
2022-01-05 17:11:47 +01:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2023-12-21 14:04:49 -05:00
2021-10-13 16:39:49 -04:00
2018-01-17 11:47:26 -06:00
2022-07-13 06:55:46 +02:00
2024-01-02 14:11:07 -05:00
2021-09-03 12:51:30 +02:00
2018-01-17 11:47:26 -06:00
2022-07-13 06:55:46 +02:00
2018-01-17 11:47:26 -06:00
2024-01-08 17:01:25 +01:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2016-03-18 12:33:40 +01:00
2016-03-18 12:33:40 +01:00
2018-01-17 11:47:26 -06:00
2021-07-06 15:35:37 +02:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2022-01-05 17:11:47 +01:00
2022-01-05 17:11:47 +01:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2017-11-30 04:06:49 -06:00
2018-01-17 11:47:26 -06:00
2017-12-01 03:41:52 -06:00
2018-01-17 11:47:26 -06:00
2020-02-18 11:35:42 +01:00
2023-02-20 11:01:18 +01:00
2018-03-12 10:17:20 +01:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00