Re: [Exim] To those testing TLS support:

Top Pagina
Delete this message
Reply to this message
Auteur: Steve Haslam
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] To those testing TLS support:
On Fri, Sep 29, 2000 at 03:37:44PM +0100, 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.
>
> (Steve, this is really all your fault; the broken line was originally in
> your code... :-)


*blush*

Actually, gcc seems to be assuming "signed char" on all my platforms
(Linux/i386,sparc and Solaris 7), unless I specify
"-funsigned-char". I thought ANSI C said chars were unsigned by
default? -ansi doesn't change anything... hrm...

SRH
-- 
+                  Steve Haslam                  |   W: +44-207-447-1839   +
+  Just Another Production Engineer, Excite UK   |   M: +44-7775-645618    +
.                         NP: Hit Back (Hate Dept)                         .