[Box Backup-dev] Re: [Box Backup] First official Win32 release

Martin Ebourne boxbackup-dev at fluffy.co.uk
Sat Jan 28 01:03:47 GMT 2006


On Fri, 2006-01-27 at 23:34 +0000, Chris Wilson wrote:
> Hi Martin,
> 
> On Fri, 27 Jan 2006, Martin Ebourne wrote:
> 
> > I take it the windows specific functions don't use off_t? If so then 
> > detect the windows functions, and make AC_SYS_LARGEFILE conditional on 
> > their absence. If present then just set the largefile define(s).
> 
> Thanks, that solves all my problems except for Box Backup's use of off_t.

I think your earlier suggestion of a box specific type would be the best
plan, and typedef it to off_t except in the case of using the windows
fns, then to int64_t or whatever else makes sense. Something like
box_off_t or BoxFileOffset would make sense.

Cheers,

Martin.




More information about the Boxbackup-dev mailing list