]> Savannah Git Hosting - gnulib.git/commit
strverscmp: sync from glibc
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Jun 2019 19:46:32 +0000 (12:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Jun 2019 19:48:52 +0000 (12:48 -0700)
commite0d220aa13abc03cd04dec7f9d1812a2177ec743
tree6c87fd59dda3495272acbf59b22d2a122b6c8b7c
parentbacccb4e51dfdcf9c4481c6e27afc3d0c244d0d0
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.
ChangeLog
lib/strverscmp.c
modules/strverscmp