diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-12-19 21:49:34 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-12-19 21:49:34 +0000 |
commit | 7fc8ddd9551a19e82565a6e677ba4283dd70bb99 (patch) | |
tree | 3dea8a1f46efaac728049c5b10e306e9209c08be /Src/options.c | |
parent | 74f4e8f66340644f73ee4be56901a58029b47a76 (diff) | |
download | zsh-7fc8ddd9551a19e82565a6e677ba4283dd70bb99.tar.gz zsh-7fc8ddd9551a19e82565a6e677ba4283dd70bb99.tar.xz zsh-7fc8ddd9551a19e82565a6e677ba4283dd70bb99.zip |
24301: missed a case for lower-casing options
Diffstat (limited to 'Src/options.c')
-rw-r--r-- | Src/options.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/options.c b/Src/options.c index b46986495..14b730ea5 100644 --- a/Src/options.c +++ b/Src/options.c @@ -571,7 +571,9 @@ bin_setopt(char *nam, char **args, UNUSED(Options ops), int isun) if (*t == '_') chuck(t); else { - *t = tulower(*t); + /* See comment in optlookup() */ + if (*t >= 'A' && *t <= 'Z') + *t = (*t - 'A') + 'a'; t++; } |