Re: [Exim] To those testing TLS support:

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Dr Andrew C Aitchison
Data:  
Para: Philip Hazel
CC: exim-users
Asunto: Re: [Exim] To those testing TLS support:
On Fri, 29 Sep 2000, Philip Hazel wrote:

> Below is a small patch for Exim 3.163. Without it, you can't transfer
> x'ff' bytes over TLS on systems where "char" is by default signed (e.g.
> Sparcs). I have vowed never again to write a program that uses plain
> "char" types. I have been bitten by Sun too many times now.


At one time I used a Mac compiler which had 3 options:
    char = unsigned char
    char = signed char
    char != unsigned char , char != signed char


> Personally, I've never understood the need for signed chars anyway.

My guess is that they are "signed small integers"
(where small is often but not always 8bit).

-- 
Dr. Andrew C. Aitchison        Computer Officer, DPMMS, Cambridge
A.C.Aitchison@???    http://www.dpmms.cam.ac.uk/~werdna