Re: [PATCH v4 1/4] kern/vercmp: Add functionality to compare kernel versions

2025-06-05 Thread Daniel Kiper via Grub-devel
On Wed, May 21, 2025 at 12:51:23PM +, Alec Brown wrote: > Add functionality to compare alpha and numeric version segments for kernels. I think this code applies not only for kernels. > This can be useful in sorting newer from older kernels. Where this code come from? Or maybe it is written f

[PATCH v4 1/4] kern/vercmp: Add functionality to compare kernel versions

2025-05-21 Thread Alec Brown via Grub-devel
Add functionality to compare alpha and numeric version segments for kernels. This can be useful in sorting newer from older kernels. Signed-off-by: Alec Brown --- Makefile.util.def| 16 ++ grub-core/kern/vercmp.c | 316 +++ include/grub/vercmp.h|