off_t and FILE access stuff ..

Ben Duncan bns
Thu Feb 2 09:39:20 PST 2006


Ok, this is for one of you REAL brains.

If a DBM FILE manager is going to need acces to files LARGER than 32 bit
offset's and you use 32 bit hash keyes, do the hash keyes need to be
increased to 64 bits themselves ?

I know that unsigned 32 bit hash keyes will allow for 2GB record count,
But I did not know if one needed to increase the hash keye size along
with the off_t size ...


Thanks ...

-- 
Ben Duncan   - VersAccounting Software LLC 336 Elton Road  Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
        - Hanlon's Razor



More information about the Linux-users mailing list