On 04/23/04 Sebastien Pouliot wrote:
> Here's the patches. There may be a better way on Linux to get a version...
> 
> The following code...
> 
> static void Main(string[] args)
> {
>       Console.WriteLine (Environment.OSVersion.ToString ());
>       Console.WriteLine (Environment.OSVersion.Platform);
>       Console.WriteLine (Environment.OSVersion.Version);
> }
> 
> Should display on Linux...
> 
> [EMAIL PROTECTED] poupou]$ mono version.exe
> Unix 2.4.20.8
> 128
> 2.4.20.8

I think we made the method report the hardcoded version to fool the
broken sw which relies on the version.
We may go with your changes and wait for someone to complain, or maybe
we should check an environment variable like:

        PROGRAMMER_TOO_LAZY_TO_WRITE_PORTABLE_CODE=beatmeharder
and report the fixed version in that case.

lupus

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to