Why is Linux the only OS in version identifier list that has a lowercase name?

Zekereth via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 10 18:17:12 PDT 2016


On Monday, 11 April 2016 at 00:51:19 UTC, Mike Parker wrote:
> It's an artifact of history. When this was first introduced, 
> Walter's intent was to match the casing used in gcc 
> preprocessor definitions. Since that time, we've standardized 
> on capitalization for everything, but 'linux' lives on. I would 
> like to see 'Linux' introduced for consistency and to avoid 
> errors like yours (a bug lived in Phobos for a long time 
> because of this) while maintaining 'linux' for backwards 
> compatibility.

Thanks, that makes sense. It would be nice if Linux could be 
introduced. I'll just have to remember from now on. Thanks again!


More information about the Digitalmars-d-learn mailing list