1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 10:51:48 +02:00

(decode_switches): Use case-sensitive matching to

decode the QUOTING_STYLE environment variable.  This is more
consistent with the documentation, and with --quoting-style.
This commit is contained in:
Jim Meyering
2002-11-23 16:43:49 +00:00
parent 0c64e08266
commit 5649aebdef

View File

@@ -1303,7 +1303,7 @@ decode_switches (int argc, char **argv)
char const *q_style = getenv ("QUOTING_STYLE");
if (q_style)
{
int i = ARGCASEMATCH (q_style, quoting_style_args, quoting_style_vals);
int i = ARGMATCH (q_style, quoting_style_args, quoting_style_vals);
if (0 <= i)
set_quoting_style (NULL, quoting_style_vals[i]);
else