std/c/time.d const sysconf bug?

Dawid Ciężarkiewicz dawid.ciezarkiewicz at asn.pl
Mon Jan 8 00:50:51 PST 2007


Frits van Bommel wrote:
>> Please replace the line with:
>> clock_t CLK_TCK(){ return cast(clock_t) sysconf(2); }
>> 
>> Using "static this" would work for common use-cases but not if
>> running applications are beeing migrated between different systems.
> 
> My first instinct when I read that message was to post just such a
> reply, but then I noticed he wasn't talking about his own code. This is
> in Phobos's std.c.time module...

Yes indeed. This is D.bug, not D.learn, right? :)


More information about the Digitalmars-d-bugs mailing list