Hash :
e0d220aa
Author :
Date :
2019-06-26T12:46:32
strverscmp: sync from glibc * lib/strverscmp.c: Sync from glibc, except use UTF-8 encoding in comments, include libc-config.h, define __strverscmp to be strverscmp, and don’t assume types line uint8_t and int8_t that that C99 doesn’t guarantee. [!_LIBC]: Include libc-config.h; define __strverscmp. Include stdint.h. (__strverscmp): Assume C99. Use uint_least8_t and int_least8_t instead of unsigned char and signed char. * modules/strverscmp (Depends-on): Add libc-config, stdint.
Description:
Compare strings holding version numbers.
Files:
lib/strverscmp.c
m4/strverscmp.m4
Depends-on:
extensions
libc-config [test $HAVE_STRVERSCMP = 0]
stdint [test $HAVE_STRVERSCMP = 0]
string
configure.ac:
gl_FUNC_STRVERSCMP
if test $HAVE_STRVERSCMP = 0; then
AC_LIBOBJ([strverscmp])
gl_PREREQ_STRVERSCMP
fi
gl_STRING_MODULE_INDICATOR([strverscmp])
Makefile.am:
Include:
<string.h>
License:
LGPLv2+
Maintainer:
Jim Meyering, glibc