[ovs-dev] [PATCH] smap,shash: add numeric and flexible sort
Ben Pfaff
blp at ovn.org
Thu Apr 14 17:17:04 UTC 2016
On Mon, Apr 04, 2016 at 11:59:27PM +0000, Worth, Kevin wrote:
> 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.
More information about the dev
mailing list