13.71.17 strverscmp
Documentation:
Gnulib module: strverscmp
Portability problems fixed by Gnulib:
- This function is missing on many platforms:
macOS 14, FreeBSD 13.1, NetBSD 10.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.4, Cygwin 1.7.x, mingw, MSVC 14, Android 9.0.
- This function treats ASCII letters as smaller than a digit sequence
on some platforms:
musl libc 1.2.3, Cygwin 3.4.6.
Portability problems not fixed by Gnulib:
- On older glibc platforms, this function does not always properly treat
digit strings with leading zeros as fractions (for example,
strverscmp ("B0075022800016.gbp.corp.com",
"B007502357019.GBP.CORP.COM")
does not yield a negative number as it
should):
glibc 2.9