[PATCH] vfs_fruit TM size calculation on 32-bit platforms

Ralph Böhme slow at samba.org
Thu Feb 22 21:13:20 UTC 2018


On Fri, Feb 23, 2018 at 09:48:24AM +1300, Douglas Bagnall wrote:
> > Attached is a simple fix for a bug in vfs_fruit where I used the wrong integer
> > type for file sizes: size_t, instead of off_t.
> 
> How do we know off_t is 64 bit? is it because we set _FILE_OFFSET_BITS?

cf buildtools/wafsamba/samba_conftests.py:def CHECK_LARGEFILE.

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/




More information about the samba-technical mailing list