summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authortimeless%mac.com <>2001-11-09 14:32:43 +0100
committertimeless%mac.com <>2001-11-09 14:32:43 +0100
commita7fd9f01b94922158fb0eb2695f8dcd077ad3bea (patch)
tree89cc5fd0e1964083fd03d34ee56abd0bcdb6b77c /enter_bug.cgi
parent8f6ab9204d8aa76613475efb18bccbfaf86e0525 (diff)
downloadbugzilla-a7fd9f01b94922158fb0eb2695f8dcd077ad3bea.tar.gz
bugzilla-a7fd9f01b94922158fb0eb2695f8dcd077ad3bea.tar.xz
Bugzilla Bug 109138 platform detection not working on macintosh
r=bbaetz,dkl
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi18
1 files changed, 14 insertions, 4 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 383c53690..c96c71b2c 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -248,14 +248,24 @@ sub pickos {
/\(.*WinNT.*\)/ && do {return "Windows NT";};
/\(.*32bit.*\)/ && do {return "Windows 95";};
/\(.*16bit.*\)/ && do {return "Windows 3.1";};
- /\(.*Macintosh.*\)/ && do {return "Macintosh";};
/\(.*Mac OS 9.*\)/ && do {return "Mac System 9.x";};
/\(.*Mac OS 8\.6.*\)/ && do {return "Mac System 8.6";};
- /\(.*Mac OS 8.*\)/ && do {return "Mac System 8.5";};
+ /\(.*Mac OS 8\.5.*\)/ && do {return "Mac System 8.5";};
+#we don't know 8.1
+ /\(.*Mac OS 8\.1.*\)/ && do {return "Mac System 8.0";};
+ /\(.*Mac OS 8\.0.*\)/ && do {return "Mac System 8.0";};
+ /\(.*Mac OS 8[^.].*\)/ && do {return "Mac System 8.0";};
+ /\(.*Mac OS 8.*\)/ && do {return "Mac System 8.6";};
+ /\(.*Darwin.*\)/ && do {return "MacOS X";};
+#silly
+ /\(.*Mac.*PowerPC.*\)/ && do {return "Mac System 9.x";};
+ /\(.*Mac.*PPC.*\)/ && do {return "Mac System 9.x";};
+ /\(.*Mac.*68k.*\)/ && do {return "Mac System 8.0";};
#evil
/Amiga/i && do {return "other";};
- /\(.*68K.*\)/ && do {return "Mac System 8.5";};
- /\(.*PPC.*\)/ && do {return "Mac System 8.5";};
+ /\(.*PowerPC.*\)/ && do {return "Mac System 9.x";};
+ /\(.*PPC.*\)/ && do {return "Mac System 9.x";};
+ /\(.*68K.*\)/ && do {return "Mac System 8.0";};
}
}
# default