solaris stuff

This commit is contained in:
Doug MacEachern 2005-03-10 03:46:06 +00:00
parent 7b8e4a5feb
commit 757892710a
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ public class OperatingSystem {
}
else if (os.name.equals("SunOS")) {
os.vendor = "Sun Microsystems";
int ix = os.version.indexOf(".");
//5.8 == solaris 8, etc.
os.vendorVersion = os.version.substring(ix);
os.name = "Solaris";
}
else if (os.name.equals("HP-UX")) {
os.vendor = "Hewlett-Packard";