Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: still bugs with 8-bit chars :-(



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