[Github-comments] [geany/geany-plugins] Lineoperations: version compare (#993)

nomadbyte notifications at xxxxx
Wed Nov 11 06:23:55 UTC 2020


Could the version-sort be done with `strverscmp()` instead of `filevercmp()` from coreutils?

There're some differences, but for the general use like "file-1.9" vs. "file-1.10" the `strverscmp()` should do just fine. And it's part of `glibc` (well, `#define _GNU_SOURCE 1`), so no need to copy the original sources into the project and thus deal with this license harmonization issue.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/993#issuecomment-725227588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201110/1e6b1cd5/attachment.htm>


More information about the Github-comments mailing list