[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ezmlm
Subject:    Re: Announcing ezmlm-idx version 0.440
From:       Bruce Guenter <lists-djb-ezmlm () bruce-guenter ! dyndns ! org>
Date:       2005-06-24 5:19:57
Message-ID: 20050624051957.GA18844 () em ! ca
[Download RAW message or body]


On Mon, Apr 18, 2005 at 05:51:55PM -0400, Amitai Schlair wrote:
> The problem is that read() and write() are defined as returning 
> ssize_t, which isn't necessarily an int. On amd64, and presumably other 
> 64-bit architectures, it's a long.

Switching the prototype to returing "long" would also work, but has more
chance of breaking things.

I'm going to apply this patch, and see if anything else breaks.  It is
basically required to #include <sys/types.h> almost everywhere, so
that's no big deal.
-- 
Bruce Guenter <bruceg@em.ca> http://em.ca/~bruceg/ http://untroubled.org/
OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA  2E2A E96F B2DC 6999 80E8

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic