cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Binary compatibility and 64-bit curl_off_t

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 14 Aug 2008 15:20:00 -0700

On Thu, Aug 14, 2008 at 08:31:46AM +0200, Daniel Stenberg wrote:
> So, to sum up I'm suggesting that we do a check like this in the configure
> script:
>
> if( system_supports_LFS && sizeof(curl_off_t) > 4 ) {
> if( sizeof(off_t) < sizeof(curl_off_t)) {
> /* LFS support explicitly disabled! */
> display_warning("potential ABI breakage");
> }
> }
> else if(!system_supports_LFS && sizeof(curl_off_t) > 4 ) {
> ABI++; /* this must cause a SONAME bump due to curl_off_t size difference
> compared to older libcurls */
> }

That looks good to me.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-08-15