summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-22 04:24:13 +0200
committerlpsolit%gmail.com <>2006-08-22 04:24:13 +0200
commitc799eebe99a2c4380709fef69928cd45b9b3ffe1 (patch)
tree874ef7edc54a55b6b969c29d5bc5ccbbb6df2375 /enter_bug.cgi
parent7431692fa881839cfd0c447beeed11b80c42642f (diff)
downloadbugzilla-c799eebe99a2c4380709fef69928cd45b9b3ffe1.tar.gz
bugzilla-c799eebe99a2c4380709fef69928cd45b9b3ffe1.tar.xz
Bug 337118: OS becomes Other when use windows98 - Patch by Frédéric Buclin <LpSolit@gmail.com> r=timeless a=myk
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi14
1 files changed, 7 insertions, 7 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 8aa9790f1..1b15d55b0 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -186,8 +186,8 @@ sub pickplatform {
/\(.*Intel.*\)/ && do {@platform = "PC"; last;};
/\(.*[ix0-9]86.*\)/ && do {@platform = "PC"; last;};
#Versions of Windows that only run on Intel x86
- /\(.*Win(?:dows )[39M].*\)/ && do {@platform = "PC"; last};
- /\(.*Win(?:dows )16.*\)/ && do {@platform = "PC"; last;};
+ /\(.*Win(?:dows |)[39M].*\)/ && do {@platform = "PC"; last};
+ /\(.*Win(?:dows |)16.*\)/ && do {@platform = "PC"; last;};
#Sparc
/\(.*sparc.*\)/ && do {@platform = "Sun"; last;};
/\(.*sun4.*\)/ && do {@platform = "Sun"; last;};
@@ -260,11 +260,11 @@ sub pickos {
/\(.*Windows 2000.*\)/ && do {@os = "Windows 2000"; last;};
/\(.*Windows NT 5.*\)/ && do {@os = "Windows 2000"; last;};
/\(.*Win.*9[8x].*4\.9.*\)/ && do {@os = "Windows ME"; last;};
- /\(.*Win(?:dows )M[Ee].*\)/ && do {@os = "Windows ME"; last;};
- /\(.*Win(?:dows )98.*\)/ && do {@os = "Windows 98"; last;};
- /\(.*Win(?:dows )95.*\)/ && do {@os = "Windows 95"; last;};
- /\(.*Win(?:dows )16.*\)/ && do {@os = "Windows 3.1"; last;};
- /\(.*Win(?:dows[ -])NT.*\)/ && do {@os = "Windows NT"; last;};
+ /\(.*Win(?:dows |)M[Ee].*\)/ && do {@os = "Windows ME"; last;};
+ /\(.*Win(?:dows |)98.*\)/ && do {@os = "Windows 98"; last;};
+ /\(.*Win(?:dows |)95.*\)/ && do {@os = "Windows 95"; last;};
+ /\(.*Win(?:dows |)16.*\)/ && do {@os = "Windows 3.1"; last;};
+ /\(.*Win(?:dows[ -]|)NT.*\)/ && do {@os = "Windows NT"; last;};
/\(.*Windows.*NT.*\)/ && do {@os = "Windows NT"; last;};
/\(.*32bit.*\)/ && do {@os = "Windows 95"; last;};
/\(.*16bit.*\)/ && do {@os = "Windows 3.1"; last;};