From c799eebe99a2c4380709fef69928cd45b9b3ffe1 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 22 Aug 2006 02:24:13 +0000 Subject: Bug 337118: OS becomes Other when use windows98 - Patch by Frédéric Buclin r=timeless a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enter_bug.cgi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'enter_bug.cgi') 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;}; -- cgit v1.2.3-24-g4f1b