summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e1b1039)
raw | patch | inline | side by side (parent: e1b1039)
author | Linus Torvalds <torvalds@osdl.org> | |
Wed, 12 Oct 2005 01:47:34 +0000 (18:47 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 12 Oct 2005 01:47:34 +0000 (18:47 -0700) |
They always were meant to be case-insensitive, but I had missed one
"tolower()", making that not true.
The actual _values_ aren't case-insensitive, of course, although some uses
of them may be (ie boolean parsing uses "strcasecmp()" to match against
the strings "true" and "false").
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
"tolower()", making that not true.
The actual _values_ aren't case-insensitive, of course, although some uses
of them may be (ie boolean parsing uses "strcasecmp()" to match against
the strings "true" and "false").
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
config.c | patch | blob | history |
diff --git a/config.c b/config.c
index cf803580c9447540627fdc8db0039fa456b7b255..9b7c6f2942483c7791277ad659b5683accafab8d 100644 (file)
--- a/config.c
+++ b/config.c
}
if (!isalpha(c))
break;
- var[baselen] = c;
+ var[baselen] = tolower(c);
if (get_value(fn, var, baselen+1) < 0)
break;
}