Avoid trigraph quoting in default output.
authorEric Blake <ebb9@byu.net>
Thu, 14 Feb 2008 04:46:03 +0000 (21:46 -0700)
committerEric Blake <ebb9@byu.net>
Sat, 16 Feb 2008 14:41:38 +0000 (07:41 -0700)
commitdf4e570bc75f0ec8234ded88b130d934a630dedd
tree21fea3e0abeaeaf7a08f9b2e32226cfb93b247f7
parente301b04f6a43e37e77b15431c373d82c7f1cfc8c
Avoid trigraph quoting in default output.

* lib/quotearg.h (enum quoting_flags): Add QA_SPLIT_TRIGRAPHS.
* lib/quotearg.c (quotearg_buffer_restyled): Don't quote trigraphs
unless explicitly requested.
* tests/test-quotearg.c (flag_results, main): Add additional tests.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/quotearg.c
lib/quotearg.h
tests/test-quotearg.c