mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* lib/fstrcmp.c: Include stddef.h and stdint.h. (uintptr_t): Remove, as we're now assuming stdint. (OFFSET, EXTRA_CONTEXT_FIELDS, fstrcmp_bounded): Prefer ptrdiff_t to int when the value could exceed INT_MAX if the input string is long. (fstrcmp_bounded): Check for size-calculation overflow. Prefer uintptr_t to size_t when the underlying value is a pointer casted to an unsigned integer. Avoid unnecessary 'buffer != NULL' test. * modules/fstrcmp (Depends-on): Add stdint.
29 lines
242 B
Plaintext
29 lines
242 B
Plaintext
Description:
|
|
Fuzzy string comparison.
|
|
|
|
Files:
|
|
lib/fstrcmp.h
|
|
lib/fstrcmp.c
|
|
|
|
Depends-on:
|
|
diffseq
|
|
lock
|
|
tls
|
|
minmax
|
|
stdint
|
|
xalloc
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += fstrcmp.h fstrcmp.c
|
|
|
|
Include:
|
|
"fstrcmp.h"
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
all
|