Mercurial > hg > octave-kai > gnulib-hg
changeset 3545:a287e9666660
(argmatch_invalid): Use quotearg_n_style (0, ...
and quote_n (1, ... to avoid clobbering a buffer.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 11 Oct 2001 15:52:17 +0000 |
parents | f56c62a4b58c |
children | 1c82648841af |
files | lib/argmatch.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/argmatch.c +++ b/lib/argmatch.c @@ -160,8 +160,8 @@ ? _("invalid argument %s for %s") : _("ambiguous argument %s for %s")); - error (0, 0, format, quotearg_style (ARGMATCH_QUOTING_STYLE, value), - quote (context)); + error (0, 0, format, quotearg_n_style (0, ARGMATCH_QUOTING_STYLE, value), + quote_n (1, context)); } /* List the valid arguments for argmatch.