Rich Felker
b50eb8c36c
fix strverscmp comparison of digit sequence with non-digits
...
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.
2022-11-07 22:33:24 -05:00
..
2020-06-26 17:49:51 -04:00
2020-06-25 19:11:13 -04:00
2015-04-18 20:45:39 -04:00
2015-04-18 21:18:23 -04:00
2013-12-12 05:09:18 +00:00
2013-12-12 05:09:18 +00:00
2013-12-12 05:09:18 +00:00
2018-07-02 17:14:54 -04:00
2013-12-12 05:09:18 +00:00
2020-03-20 15:45:08 -04:00
2018-09-26 14:39:10 -04:00
2011-02-12 00:22:29 -05:00
2013-08-28 03:34:57 -04:00
2020-04-30 21:52:28 -04:00
2018-09-26 14:39:10 -04:00
2013-12-12 05:09:18 +00:00
2018-09-12 14:34:37 -04:00
2017-08-29 19:53:50 -04:00
2013-12-12 05:09:18 +00:00
2018-09-26 14:39:10 -04:00
2018-09-26 14:39:10 -04:00
2018-09-12 14:34:37 -04:00
2013-02-21 23:54:25 -05:00
2012-09-06 22:44:55 -04:00
2018-09-12 14:34:33 -04:00
2018-09-26 14:39:10 -04:00
2013-11-23 16:17:38 -05:00
2018-09-12 14:34:33 -04:00
2018-09-12 14:34:33 -04:00
2018-09-12 14:34:35 -04:00
2018-09-12 14:34:37 -04:00
2011-02-14 20:53:15 -05:00
2018-09-26 14:39:10 -04:00
2018-09-26 14:39:10 -04:00
2018-09-12 14:34:37 -04:00
2012-09-06 22:44:55 -04:00
2011-03-25 16:34:03 -04:00
2018-09-12 14:34:33 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2018-09-12 14:34:33 -04:00
2011-04-06 14:28:29 -04:00
2020-05-21 16:25:12 -04:00
2011-03-25 16:34:03 -04:00
2020-12-09 11:34:29 -05:00
2012-09-06 22:44:55 -04:00
2012-09-06 22:44:55 -04:00
2022-11-07 22:33:24 -05:00
2014-10-04 11:14:01 -04:00
2012-09-06 22:44:55 -04:00
2012-09-06 22:44:55 -04:00
2012-03-01 23:24:45 -05:00
2012-03-01 23:24:45 -05:00
2012-09-06 22:44:55 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-09-06 22:44:55 -04:00
2011-02-12 00:22:29 -05:00
2018-09-12 14:34:37 -04:00
2011-02-12 00:22:29 -05:00
2012-03-01 23:24:45 -05:00
2012-03-01 23:24:45 -05:00
2012-09-06 22:44:55 -04:00
2012-05-26 18:04:17 -04:00
2012-09-06 22:44:55 -04:00
2012-03-01 23:24:45 -05:00
2011-02-12 00:22:29 -05:00
2011-06-13 14:06:04 -04:00
2011-02-12 00:22:29 -05:00
2014-04-18 17:38:35 -04:00
2012-09-06 22:44:55 -04:00
2011-02-12 00:22:29 -05:00
2013-12-12 05:09:18 +00:00
2013-12-12 05:09:18 +00:00
2013-12-12 05:09:18 +00:00
2018-09-23 02:51:01 -04:00
2013-12-12 05:09:18 +00:00