[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System OperatingSystem.cs, 1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System OperatingSystem.cs, 1.1, 1.2 |
Date: |
Thu, 18 Sep 2003 22:18:28 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv1460/runtime/System
Modified Files:
OperatingSystem.cs
Log Message:
Add the autoconf platform name to the string returned by
"OperatingSystem.ToString()" for "Unix" platforms so that
applications can detect the system type should they need to.
Index: OperatingSystem.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/OperatingSystem.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** OperatingSystem.cs 28 Nov 2002 04:54:29 -0000 1.1
--- OperatingSystem.cs 19 Sep 2003 02:18:25 -0000 1.2
***************
*** 24,27 ****
--- 24,29 ----
#if !ECMA_COMPAT
+ using Platform;
+
public sealed class OperatingSystem : ICloneable
{
***************
*** 83,87 ****
default:
! os = "Unix ";
break;
}
--- 85,89 ----
default:
! os = "Unix [" +
InfoMethods.GetPlatformName() + "] ";
break;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System OperatingSystem.cs, 1.1, 1.2,
Rhys Weatherley <address@hidden> <=