Branch
Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
@node strverscmp
@subsection @code{strverscmp}
@findex strverscmp
Documentation:
@itemize
@item
@ifinfo
@ref{String/Array Comparison,,String/Array Comparison,libc},
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/String_002fArray-Comparison.html},
@end ifnotinfo
@item
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/strverscmp.3.html,,man strverscmp}.
@end itemize
Gnulib module: strverscmp
@mindex strverscmp
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on many platforms:
macOS 14, FreeBSD 13.1, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.4, Cygwin 1.7.x, mingw, MSVC 14, Android 9.0.
@item
This function treats ASCII letters as smaller than a digit sequence
on some platforms:
@c https://git.musl-libc.org/cgit/musl/commit/src/string/strverscmp.c?id=b50eb8c36c20f967bd0ed70c0b0db38a450886ba
musl libc 1.2.3, Cygwin 3.4.x.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
On older glibc platforms, this function does not always properly treat
digit strings with leading zeros as fractions (for example,
@code{strverscmp ("B0075022800016.gbp.corp.com",
"B007502357019.GBP.CORP.COM")} does not yield a negative number as it
should):
glibc 2.9
@end itemize