Re: [Exim] To those testing TLS support:

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Steve Haslam
日付:  
To: exim-users
題目: 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)                         .