Re: [dev] [st] possibly redundant check in techo

From: Steven Degutis <sbdegutis_AT_gmail.com>
Date: Thu, 14 Aug 2014 16:58:50 -0500

> What processador do you use in your port? intel or ibm?

I'm on OS X 10.9 on an Intel Mac Pro, using LLVM + Clang.

> There was a discussion in this list sometime ago about this
> topic, and I think this was the best solution (if someone can
> find the messages ...), but I agree that if char is signed then
> we have a problem. It is clear that c must be char, because
> tputc expects a char pointer and buf is also a char pointer.
>
> Maybe we should change the line to:
>
> if(ISCONTROL((uchar) c)) { /* control code */

Yes, that sounds like a reasonable solution.

-Steven
Received on Thu Aug 14 2014 - 23:58:50 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 15 2014 - 00:00:30 CEST