projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c64e08
)
(decode_switches): Use case-sensitive matching to
author
Jim Meyering
<jim@meyering.net>
Sat, 23 Nov 2002 16:43:49 +0000
(16:43 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 23 Nov 2002 16:43:49 +0000
(16:43 +0000)
decode the QUOTING_STYLE environment variable. This is more
consistent with the documentation, and with --quoting-style.
src/ls.c
patch
|
blob
|
history
diff --git
a/src/ls.c
b/src/ls.c
index
246e7f0
..
5620638
100644
(file)
--- 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 = ARG
CASE
MATCH (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