On Thu, Oct 21, 2010 at 01:29:55PM -0400, Erik Tkal wrote:
> Hi Andy,
> 
> The specific concern is that (e.g.) the BIO seek and tell operations use long 
> for parameters, which on some 64-bit systems is still 32 bits.
> 
> They need to use size_t or a specific 64-bit type.

No.  size_t is wrong; it may be 32 bits on platforms where file offsets
can be 64 bits.

Please, let's not reinvent the wheel!

There is a type for this.  It is off_t.  It is crazy to not simply use it.

Thor
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to