On Saturday, August 13, 2011 13:18:29 Vladimir Panteleev wrote: > On Sat, 13 Aug 2011 08:08:09 +0300, Jonathan M Davis <jmdavisp...@gmx.com> > > wrote: > > Thoughts on std.system.OS? Is there a good reason to leave it? In > > principle, it's a nice idea, but I just don't see how it can deliver. > > And if it can't deliver, it should be removed IMHO. What do you think? > > Why not use uname on non-Windows systems, and report the kernel version?
That's certainly a thought, but that could get entertaining to get the enum values from that. As long as the various distros are consistent in their naming schemes between their releases though, that _should_ be possible. That may be worth trying though. - Jonathan M Davis