Commit c799eebe authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 337118: OS becomes Other when use windows98 - Patch by Frédéric Buclin…

Bug 337118: OS becomes Other when use windows98 - Patch by Frédéric Buclin <LpSolit@gmail.com> r=timeless a=myk
parent 7431692f
......@@ -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;};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment