1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/quotearg
Paul Eggert cb4e027f61 quotearg: pacify GCC better
* modules/quotearg (Depends-on): Add minmax, stdint.
* lib/quotearg.c: Include minmax.h, stdint.h.
(nslots): Now int, as there seems little point to going to extra
work merely to support the INT_MAX slot, which nobody ever uses.
(quotearg_n_options): Redo size-overflow checks to pacify GCC
and to catch (mostly-theoretical) ptrdiff_t problems too.
This can be done via one comparison.
2016-12-15 10:19:48 -08:00

42 lines
422 B
Plaintext

Description:
Quote arguments for use in error messages.
Files:
lib/quotearg.h
lib/quotearg.c
lib/quote.h
m4/mbstate_t.m4
m4/mbrtowc.m4
m4/quotearg.m4
Depends-on:
c-strcaseeq
extensions
gettext-h
mbrtowc
mbsinit
memcmp
minmax
quotearg-simple
localcharset
stdbool
stdint
wchar
wctype-h
xalloc
configure.ac:
gl_QUOTEARG
Makefile.am:
lib_SOURCES += quotearg.c
Include:
"quotearg.h"
License:
GPL
Maintainer:
Paul Eggert