1
0
Fork 0
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:
Peter Stephenson 2007-12-19 21:49:34 +00:00
parent 74f4e8f663
commit 7fc8ddd955
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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++;
}