Hash :
cb4e027f
Author :
Date :
2016-12-15T09:53:45
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.
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
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