Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -current postfix breakage? (on sparc64)



tacha%tack.fukui-med.ac.jp@localhost wrote:

> O.K. Then .../util/vstream_tweak_tcp should use "int mss", too.
> Indeed, changed mss to int and postfix/smtp now works on sparc64.
> # I have not tested on other archs.

It also looks like solaris:

        { TCP_MAXSEG,   IPPROTO_TCP, OA_R, OA_R, OP_NP, OP_PASSNEXT, sizeof 
(uint_t),
                536 },

and Linux:

        int val, len;
        ...
        case TCP_MAXSEG:
                val = tp->mss_cache;

use an int as well, so it would appear to be general OS-independent
lossage.

Interestingly, it looks like the original proposed patch used "int mss;"
(at least in http://www.irbs.net/internet/postfix/0707/1291.html).  I'm
rather curious to understand why someone decided to change it to ssize_t
along the way...

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index