dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Environment.cs,1.13,1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Environment.cs,1.13,1.14
Date: Fri, 20 Jun 2003 22:55:17 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv20630/runtime/System

Modified Files:
        Environment.cs 
Log Message:


Add the "InfoMethods.GetPlatformID" internalcall to better detect
Win32 vs Unix platform differences.


Index: Environment.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Environment.cs,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** Environment.cs      23 Apr 2003 05:39:48 -0000      1.13
--- Environment.cs      21 Jun 2003 02:55:15 -0000      1.14
***************
*** 210,219 ****
                                get
                                {
!                                       OperatingSystem os = 
InfoMethods.GetOSVersion();
!                                       if(os != null)
!                                       {
!                                               return os;
!                                       }
!                                       return new 
OperatingSystem(PlatformID.Unix, new Version());
                                }
                        }
--- 210,216 ----
                                get
                                {
!                                       return new OperatingSystem
!                                               (InfoMethods.GetPlatformID(),
!                                                new Version(5, 1, 2600, 0));
                                }
                        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]