== Quote from Sean Kelly ([email protected])'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.
