mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
Christoph Bauer: users/11416: bad use of VARARR()
This commit is contained in:
parent
212bbe3938
commit
25bb07b80e
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-04-17 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Christoph Bauer: users/11416: Src/utils.c: bad use
|
||||
of VARRAR confused some compilers.
|
||||
|
||||
2007-04-17 Geoff Wing <gcw@zsh.org>
|
||||
|
||||
* unposted: LICENCE: update year to 2007
|
||||
|
|
|
@ -3055,8 +3055,8 @@ wcsitype(wchar_t c, int itype)
|
|||
if (len == 0) {
|
||||
/* NULL is special */
|
||||
return zistype(0, itype);
|
||||
} else if (len == 1 && isascii(*outstr)) {
|
||||
return zistype(*outstr, itype);
|
||||
} else if (len == 1 && isascii(outstr[0])) {
|
||||
return zistype(outstr[0], itype);
|
||||
} else {
|
||||
switch (itype) {
|
||||
case IIDENT:
|
||||
|
|
Loading…
Reference in a new issue