[Libguestfs] [PATCH] v2v: utils: Replace "remove_duplicates" function with call to sort_uniq.

Pino Toscano ptoscano at redhat.com
Fri Sep 9 14:45:27 UTC 2016


On Friday, 9 September 2016 15:33:20 CEST Richard W.M. Jones wrote:
> ---
>  v2v/linux_bootloaders.ml | 2 +-
>  v2v/utils.ml             | 9 ---------
>  v2v/utils.mli            | 3 ---
>  3 files changed, 1 insertion(+), 13 deletions(-)

Hm this may change the order of the grub1 kernels though.  Also the
sorting done with a simple string comparison function will not always
produce the right order, because of the possible version number of
kernels.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160909/5197583d/attachment.sig>


More information about the Libguestfs mailing list