mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-22 00:21:27 +01:00
24301: missed a case for lower-casing options
This commit is contained in:
parent
74f4e8f663
commit
7fc8ddd955
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2007-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 24301: missed a case for the lower-casing fix in 23219.
|
||||
|
||||
* 24298: Tonguc Yumruk: Functions/Misc/is-at-least: use
|
||||
emulate -L for consistency.
|
||||
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue