You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Akins <ba...@web.turner.com> on 2004/08/11 15:23:36 UTC

apr_off_t on linux i386

apr_off_t gets defined as a long on linux i386 and an off_t on x86_64.  
apr_off_t used as a byte counter rolls over fairly quickly on i386.

Suggestions?

-- 
Brian Akins
Senior Systems Engineer
CNN Internet Technologies


Re: apr_off_t on linux i386

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Brian Akins wrote:

>> Or use HEAD where apr_off_t is an off64_t on i386
>> too.
>>
>>  
>>
> any plan to backport this?  All my counters are rolling over :(

That sounds like the kind of thing that would break binary 
compatability, so I imagine it won't be backported.

-garrett

Re: apr_off_t on linux i386

Posted by Brian Akins <ba...@web.turner.com>.
Joe Orton wrote:

>On Wed, Aug 11, 2004 at 09:23:36AM -0400, Brian Akins wrote:
>  
>
>>apr_off_t gets defined as a long on linux i386 and an off_t on x86_64.  
>>apr_off_t used as a byte counter rolls over fairly quickly on i386.
>>
>>Suggestions?
>>    
>>
>
>Stick with x86_64 :) 
>
Wish i could :)

>Or use HEAD where apr_off_t is an off64_t on i386
>too.
>
>  
>
any plan to backport this?  All my counters are rolling over :(


-- 
Brian Akins
Senior Systems Engineer
CNN Internet Technologies


Re: apr_off_t on linux i386

Posted by Joe Orton <jo...@redhat.com>.
On Wed, Aug 11, 2004 at 09:23:36AM -0400, Brian Akins wrote:
> apr_off_t gets defined as a long on linux i386 and an off_t on x86_64.  
> apr_off_t used as a byte counter rolls over fairly quickly on i386.
> 
> Suggestions?

Stick with x86_64 :) Or use HEAD where apr_off_t is an off64_t on i386
too.

joe