From: Jim Meyering Date: Sat, 23 Nov 2002 16:43:49 +0000 (+0000) Subject: (decode_switches): Use case-sensitive matching to X-Git-Tag: COREUTILS-4_5_4~144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5649aebdefdb0d4628413c72cc8f48fbc52bcd1a;p=platform%2Fupstream%2Fcoreutils.git (decode_switches): Use case-sensitive matching to decode the QUOTING_STYLE environment variable. This is more consistent with the documentation, and with --quoting-style. --- diff --git a/src/ls.c b/src/ls.c index 246e7f0..5620638 100644 --- a/src/ls.c +++ b/src/ls.c @@ -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