[phobos] phobos commit, revision 1890

Andrei Alexandrescu andrei at erdani.com
Tue Aug 17 09:47:20 PDT 2010


Try now. I've reverted back to the old 32-bit routines for Windows.

To work with large files on win32 one must use _fseeki64 and _ftelli64. 
However, if I try to link such functions I get linker errors. 
Furthermore, grepping the windows/lib/ files for either symbol yields no 
results.

I've searched around and it looks like those functions are defined in 
libcmt.lib. Are we allowed to distrubute that? Otherwise, Walter, can 
you define 64-bit seek and tell routines in your stdio implementation?


Thanks,

Andrei

SHOO wrote:
> (2010/08/18 1:13), Andrei Alexandrescu wrote:
>> Please update and build druntime too.
>>
>> Andrei
>>
> 
> Though I do `svn up` both a combination of druntime and phobos, this 
> symptom does not fade away.
> 
> Now, druntime's revision is r370, Phobos's revision is r1890.
> 
> On Windows, these lines are compiled:
> 
> L528:    enforce(isOpen, "Attempting to seek() in an unopened file");
> L529:    static assert(off_t.sizeof == 8);
> L530:    errnoEnforce(fseeko(p.handle, offset, origin) == 0,
> L531:            "Could not seek in file `"~p.name~"'");
> 
> Is this correct?
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list