Pádraig Brady
8fc12909f6
sort: fix parsing of end field in obsolescent key formats
...
This regression was introduced in commit 224a69b5 , 2009-02-24,
"sort: Fix two bugs with determining the end of field".
The specific regression being that we include 1 field too many when
an end field is specified using obsolescent key syntax (+POS -POS).
* src/sort.c (struct keyfield): Clarify the description of the eword
member, as suggested by Alan Curry.
(main): When processing obsolescent format key specifications,
normalize eword to a zero based count when no specific end char is given
for an end field. This matches what's done when keys are specified with -k.
* tests/misc/sort: Add a few more tests for the obsolescent key formats,
with test 07i being the particular failure addressed by this change.
* THANKS: Add Alan Curry who precisely identified the issue.
* NEWS: Mention the fix.
Reported by Santiago Rodríguez
2010-04-20 22:37:18 +01:00
..
2009-11-06 16:54:12 +00:00
2010-02-15 23:42:49 +00:00
2010-01-01 14:06:47 +01:00
2009-08-25 09:21:00 +02:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-02-11 08:01:15 +00:00
2010-03-26 14:31:16 +00:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-04-16 23:02:02 +01:00
2010-04-12 10:06:11 +01:00
2010-01-01 14:06:47 +01:00
2008-11-20 10:21:52 +01:00
2010-02-11 08:01:15 +00:00
2010-01-01 14:06:47 +01:00
2010-03-17 18:28:28 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-17 18:28:28 +01:00
2010-01-01 16:56:03 +01:00
2010-01-01 14:06:47 +01:00
2010-04-09 16:28:46 +02:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-02-25 08:54:49 -07:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-17 18:28:28 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-17 18:28:28 +01:00
2010-01-01 14:06:47 +01:00
2010-01-18 12:03:18 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-18 17:41:12 +01:00
2010-04-16 00:55:43 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-02-11 08:01:15 +00:00
2010-01-01 14:06:47 +01:00
2010-03-26 14:31:16 +00:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-02-11 08:01:15 +00:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-17 18:28:28 +01:00
2010-01-01 14:06:47 +01:00
2010-03-10 11:05:18 +01:00
2010-01-01 14:06:47 +01:00
2010-03-18 15:41:59 -06:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-04-20 22:37:18 +01:00
2010-01-01 14:06:47 +01:00
2010-02-11 08:01:15 +00:00
2010-02-15 23:42:49 +00:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-20 12:11:50 +01:00
2010-01-01 14:06:47 +01:00
2010-01-05 09:08:03 +01:00
2010-04-04 09:15:07 +02:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-03-26 14:27:54 +00:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-04-09 10:50:43 +02:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2010-01-01 14:06:47 +01:00
2007-07-10 19:00:00 +02:00
2010-01-01 14:06:47 +01:00
2010-02-11 08:01:15 +00:00
2010-01-01 14:06:47 +01:00
2010-03-17 18:28:28 +01:00
2010-01-01 14:06:47 +01:00
2010-04-08 23:53:12 +02:00
2010-01-01 14:06:47 +01:00
2010-01-25 11:43:49 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00