OFF_T on different platforms ...

Jeremy Allison jeremy at valinux.com
Thu May 17 06:15:46 GMT 2001


On Wed, May 16, 2001 at 08:28:05PM -0700, Gerald Carter wrote:
> On Thu, 17 May 2001, Richard Sharpe wrote:
> 
> > Hi,
> >
> > I am having a problems with OFF_T on FreeBSD and perhaps some other platforms.
> >
> > I am returning an OFF_T from a couple of functions, but they are cast from
> > pointers internally.
> 
> Don't we use SMB_OFF_T internally?

Yes, that should always map to the largest possible offset
for a file on the platform (can be 64 or 32 bits).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list