using off_t in talloc
Jelmer Vernooij
jelmer at samba.org
Thu Jul 20 11:42:51 GMT 2006
On Thu, Jul 20, 2006 at 01:26:36PM +0200, Stefan (metze) Metzmacher wrote:
> I thought about removing off_t from talloc,
> it's used as return value of talloc_total_size() and
> talloc_total_blocks().
> I have added some configure checks
> to the standalone build of talloc.
> And it seems that:
> sizeof(off_t) is 8 (only Stratos has 4)
> sizeof(size_t) is 4 on x86 and 8 on 64bit platforms
> Are there any platforms where the total RAM-size per
> process doesn't fit into size_t?
> If it always fits, I'll remove off_t from talloc
Would be nice to see. This'll also fix #3581.
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/
Currently playing: Camel - West Berlin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20060720/c9402fad/attachment.bin
More information about the samba-technical
mailing list