Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: compadd
- X-seq: zsh-workers 5204
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: compadd
- Date: Wed, 3 Feb 1999 12:12:38 +0100 (MET)
- In-reply-to: Sven Wischnowsky's message of Mon, 1 Feb 1999 10:10:55 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
The patch from message 5145 added one of these `char used as array subscript'
gcc-warnings. To fix this...
Bye
Sven
--- os/Zle/zle_misc.c Wed Feb 3 12:07:21 1999
+++ Src/Zle/zle_misc.c Wed Feb 3 12:10:02 1999
@@ -832,7 +832,7 @@
suffixlen[b++] = v;
s += 2;
} else
- suffixlen[*s] = v;
+ suffixlen[STOUC(*s)] = v;
s++;
}
} else
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author