bug#24015: [PATCH v2 1/3] sort: deduplicate code for traversing numbers

2016-07-18 Thread Kamil Dudka
On Monday, July 18, 2016 22:28:56 Pádraig Brady wrote: > On 18/07/16 22:07, Pádraig Brady wrote: > > Excellent. I'll push all three patches. > > > > I'll adjust the first summary like s/sort:/maint: sort.c:/ > > since there is no functionality change > > > > I'll also add the check for the sv_SE

bug#24015: [PATCH v2 1/3] sort: deduplicate code for traversing numbers

2016-07-18 Thread Pádraig Brady
On 18/07/16 22:07, Pádraig Brady wrote: > Excellent. I'll push all three patches. > > I'll adjust the first summary like s/sort:/maint: sort.c:/ > since there is no functionality change > > I'll also add the check for the sv_SE locale in the test. Oops you'd done that already. One change I did

bug#24015: [PATCH v2 1/3] sort: deduplicate code for traversing numbers

2016-07-18 Thread Pádraig Brady
Excellent. I'll push all three patches. I'll adjust the first summary like s/sort:/maint: sort.c:/ since there is no functionality change I'll also add the check for the sv_SE locale in the test. thanks! Pádraig.

bug#24015: [PATCH v2 1/3] sort: deduplicate code for traversing numbers

2016-07-18 Thread Kamil Dudka
* src/sort.c (traverse_raw_number): New function for traversing numbers. (find_unit_order): Use traverse_raw_number () instead of open-coding it. (debug_key): Use traverse_raw_number () instead of open-coding it. --- src/sort.c | 63 ++ 1