Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: still bugs with 8-bit chars :-(
- X-seq: zsh-workers 477
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: coleman@xxxxxxxxxxxxxxx (Richard Coleman)
- Subject: Re: still bugs with 8-bit chars :-(
- Date: Wed, 18 Oct 1995 13:47:25 +0100 (MET)
- Cc: zsh-workers@xxxxxxxxxxxxxxx (zsh-workers)
- In-reply-to: <9510180442.AA24279@xxxxxxxxxxxxxxxxxxxxxxxxx> from "Richard Coleman" at Oct 18, 95 00:42:49 am
Richard wrote:
> Since we already casting anyway, wouldn't the line
>
> return lastc = (int)(unsigned short)*inbufptr++;
>
> do just as well. I don't ever use 8-bit characters, so I not
> positive about this.
Yes, that should work as well. Even a simple (unsigned)*inbufptr++ should
work, as this can be seen in hist.c near line 289.
Cheers,
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author