[Issue 2021] version(linux) is inconsistent
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 21 14:40:17 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2021
------- Comment #1 from larsivar at igesund.net 2008-04-21 16:40 -------
Also, uname gives Linux, which tends to be the source used for scripted and
programmed checks for the OS. uname on FreeBSD returns freebsd for instance,
which turns out to also be the version identifier for that OS in GDC.
This would allow for things like
./gdc -fversion=`uname`
--
More information about the Digitalmars-d-bugs
mailing list