[Box Backup-dev] Re: [Box Backup] First official Win32 release
Ben Summers
boxbackup-dev at fluffy.co.uk
Sat Jan 28 09:34:56 GMT 2006
On 27 Jan 2006, at 21:14, Chris Wilson 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).
>>
>> I thought the posix emulation stuff "just worked" for large files
>> on Win32?
>
> In my tests with MinGW, it didn't seem to. As far as I can tell,
> the MinGW headers always define off_t as "long" (in sys/types.h)
> which will be 32 bits on all 32-bit platforms. I found some mailing
> list discussions that told users who wanted large file support to
> use the Windows-specific functions:
There I was assuming that the emulation stuff used the native Win32
API (eg SetFilePointerEx which does 64 bit integers). It's probably a
lot more work to emulate _everything_ like that though.
Ben
More information about the Boxbackup-dev
mailing list