fix solaris vendor version

This commit is contained in:
Doug MacEachern 2005-07-08 01:47:59 +00:00
parent 103c90f847
commit 6debd2fefa
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class OperatingSystem {
os.vendor = "Sun Microsystems"; os.vendor = "Sun Microsystems";
int ix = os.version.indexOf("."); int ix = os.version.indexOf(".");
//5.8 == solaris 8, etc. //5.8 == solaris 8, etc.
os.vendorVersion = os.version.substring(ix); os.vendorVersion = os.version.substring(ix+1);
os.name = NAME_SOLARIS; os.name = NAME_SOLARIS;
} }
else if (os.name.equals("HP-UX")) { else if (os.name.equals("HP-UX")) {