[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [patch #3520] BeOS identification for Environment.OSVe
From: |
Rhys Weatherley |
Subject: |
[Pnet-developers] [patch #3520] BeOS identification for Environment.OSVersion.Platform |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
This mail is an automated notification from the patch tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[patch #3520] Latest Modifications:
Changes by:
Rhys Weatherley <address@hidden>
'Date:
Mon 11/15/2004 at 22:32 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Wont Apply
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
PlatformID is a very brittle mechanism, as the number of
potential platforms is open-ended. It shouldn't be
changed. The correct way to detect particular flavours
of non-Windows operating systems under pnet is to inspect
the following string:
Environment.OSVersion.ToString()
This will contain the autoconf host identifier whenever
the platform ID is 128. e.g., on my i386 Linux box it
says this:
Unix [i686-pc-linux-gnu] 5.1.2600.0
On BeOS, you will probably find "-beos-" or something
similar in there somewhere (the rest of the string is
gunk designed to mimic the MS response and can be
safely ignored).
Patch closed.
/**************************************************************************/
[patch #3520] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3520>
Project: DotGNU Portable.NET
Submitted by: 0
On: Mon 11/15/2004 at 11:58
Category: None
Priority: 5 - Normal
Resolution: Wont Apply
Privacy: Public
Assigned to: None
Originator Email: address@hidden
Status: Closed
Summary: BeOS identification for Environment.OSVersion.Platform
Original Submission: patch with -p1 -i inside the tree (These patches was
prodced fromt he 0.6.10 packagtes.
And im not sure on how you have the identification number system so you might
have to change it :>
And its from sys2...
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 11/15/2004 at 22:32 By: Rhys Weatherley <rweather>
PlatformID is a very brittle mechanism, as the number of
potential platforms is open-ended. It shouldn't be
changed. The correct way to detect particular flavours
of non-Windows operating systems under pnet is to inspect
the following string:
Environment.OSVersion.ToString()
This will contain the autoconf host identifier whenever
the platform ID is 128. e.g., on my i386 Linux box it
says this:
Unix [i686-pc-linux-gnu] 5.1.2600.0
On BeOS, you will probably find "-beos-" or something
similar in there somewhere (the rest of the string is
gunk designed to mimic the MS response and can be
safely ignored).
Patch closed.
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 11/15/2004 at 11:59 Name: pnetlib-PlatformID.cs-beos.patch Size:
341B By: None
runtime/System/PlatformID.cs patch
http://savannah.gnu.org/patch/download.php?item_id=3520&item_file_id=3881
-------------------------------------------------------
Date: Mon 11/15/2004 at 11:58 Name: pnetlib-OperatingSystem.cs-beos.patch
Size: 415B By: None
runtime/System/OperatingSystem.cs patch
http://savannah.gnu.org/patch/download.php?item_id=3520&item_file_id=3880
-------------------------------------------------------
Date: Mon 11/15/2004 at 11:58 Name: pnet-lib_info.c-beos.patch Size: 325B
By: None
engine/lib_info.c patch
http://savannah.gnu.org/patch/download.php?item_id=3520&item_file_id=3879
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3520>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/