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

List:       kde-core-devel
Subject:    Re: Fwd: Re: 64 bit file support
From:       shaheed <srhaque () iee ! org>
Date:       2001-08-10 20:53:56
[Download RAW message or body]

On Friday 10 August 2001 2:53 pm, Waldo Bastian wrote:
> It seems that since we can't control the way in which either Qt, other libs
> or applications are being compiled we will need to use the "Transitional
> Extensions".

I'm not an expert on this, but provided the functionality actually exists on 
the major platforms of interest, it seems sensible to me. We should check for 
the existence of this functionality on at least the major platforms of 
interest (is there a list of known ports?). 

> As far as KDE's internal interfaces goes, I think that we should start to
> use "long long" in the interfaces that need it. Maybe we can add a
> KIO::filesize_t typedef so that we have a central place to change it to
> something else.

Please don't use "long long" - Digital UNIX, Solaris 8, Irix 6.5.recent and 
possibly others use "long" to mean 64 bits with the default ABI, but this 
lack of precision is just not helpful. I suspect that off_t will work 
provided we check that sizeof(off_t) == sizeof(off64_t). If not, I prefer the 
KIO::filesize_t (unsigned?) or perhaps KIO::offset_t (signed?) concept.

Thanks, Shaheed

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

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