Phobos Patch - Version (X86_64) for struct_stat64 on Linux x86_64

Iain Buclaw ibuclaw at ubuntu.com
Thu Dec 30 09:37:25 PST 2010


== Quote from Sean Kelly (sean at invisibleduck.org)'s article
> Iain Buclaw Wrote:
> >
> > OK, I've had a proper look, is there any reason why phobos isn't using the
stat_t
> > implementation in druntime?
> No good reason.  I think the 64-bit version of stat_t may be screwed up
(there's a bug report for it on dsource/druntime) but I'll take care of that
before the next release.

You mean this one? http://d.puremagic.com/issues/show_bug.cgi?id=5206

And yes, looks like you are right. Required a little more tweaking and defining
__WORDSIZE = 32 or 64 to get it correct to the C system size/alignment.


More information about the Digitalmars-d mailing list