[ovs-dev] [PATCH] smap,shash: add numeric and flexible sort
Worth, Kevin
kevin.worth at hpe.com
Mon Apr 18 15:39:31 UTC 2016
>> The default implementation of shash_sort and smap_sort provide only
>> lexigraphic sorting. This patch allows both a numeric sort and a flexible
>> version where the caller provides a comparison function
>> ("compar" being the name used in other standard functions e.g. qsort(3))
>>
>> Change-Id: I12fd3f8eef3f627fc1482bda47ba8b2329123121
>> Signed-off-by: Kevin Worth <kevin.worth at hpe.com>
> Thanks for the patch.
>
> This is whitespace damaged (it looks like spaces at beginnings of lines
> were deleted) and I couldn't apply it. Please re-send, or submit a pull
> request.
Thanks Ben, think my email client mangled things... submitted pull request
https://github.com/openvswitch/ovs/pull/116
-Kevin W.
More information about the dev
mailing list