Include quotearg.h immediately after config.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 23 Nov 2002 06:45:49 +0000 (06:45 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 23 Nov 2002 06:45:49 +0000 (06:45 +0000)
commitcb7716e2ff4d52dace03c03d245749e42009c243
tree9647e1fe118c2e29eb7935fb0207f2effaa98b7b
parent54c4adf1b45410231ac32d6ecef58619ec8e1974
Include quotearg.h immediately after config.h.
No need to include stddef.h or sys/types.h any more.
Surround local include files with "", not "<>".
Assume HAVE_LIMITS_H unconditionally, as we assume C89.
Similarly, assume HAVE_C_BACKSLASH_A, CHAR_BIT, UCHAR_MAX, UINT_MAX,
HAVE_STDLIB_H, HAVE_STRING_H, STDC_HEADERS.
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
(ISPRINT): Remove; no longer needed now that we assume C89.

(clone_quoting_options, quotearg_buffer, quotearg_n_options):
Preserve errno.

(quotearg_buffer_restyled, quotearg_n, quotearg_n_style,
quotearg_char): Use SIZE_MAX rather than
(size_t) -1 when we are talking about "infinity".

(quotearg_buffer_restyled): Fix bug when quoting trigraphs.
lib/quotearg.c