On Sat, Oct 23, 2010 at 08:40:55AM +0100, Darryl Miles wrote: > > * Create a new API call (that is a real function, not a macro) that: > ** implements BIO_tell64() that returns "loff_t" type. Maybe > someone can confirm my expectation that the loff_t will ALWAYS be (at > least) 64bit wide on all platforms.
I don't think "loff_t" is a standard type. BSD systems (which have had 64 bit off_t since the early 1990s) do not seem to have it. I do think the right thing to do here is to simply convert the internals to use off_t and, on horrific platforms with LARGEFILE_SOURCE gunk in the header files and 32 bit off_t if it's not defined, detect that need and put the appropriate macro magic in the header files to wrap the 64-bit internals in a 32-bit compatibility layer. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
