patchDotGNU Portable.NET - Patches: patch #3520, BeOS identification for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3520: BeOS identification for Environment.OSVersion.Platform

Submitter:  None
Submitted:  Mon 15 Nov 2004 11:58:15 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

Mon 15 Nov 2004 10:32:41 PM UTC, comment #1: 

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.

Rhys Weatherley <rweather>
Group administrator
Mon 15 Nov 2004 11:58:15 AM UTC, 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...

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #8045:  pnetlib-PlatformID.cs-beos.patch added by None (341B - application/octet-stream - runtime/System/PlatformID.cs patch)
file #8044:  pnetlib-OperatingSystem.cs-beos.patch added by None (415B - application/octet-stream - runtime/System/OperatingSystem.cs patch)
file #8043:  pnet-lib_info.c-beos.patch added by None (325B - application/octet-stream - engine/lib_info.c patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-15 rweather StatusNone Wont Do
    Open/ClosedOpen Closed
2004-11-15 None Attached File- Added pnetlib-PlatformID.cs-beos.patch, #3881
2004-11-15 None Attached File- Added pnetlib-OperatingSystem.cs-beos.patch, #3880
2004-11-15 None Attached File- Added pnet-lib_info.c-beos.patch, #3879

Back to the top

Powered by Savane 3.13-0329.
Corresponding source code