]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 714368: Add Windows 8 detection
authorMatt Selsky <selsky@columbia.edu>
Sun, 26 Feb 2012 11:51:11 +0000 (12:51 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 26 Feb 2012 11:51:11 +0000 (12:51 +0100)
r/a=LpSolit

enter_bug.cgi

index 4778e44186a0c235f8cdf1b63ffe251d8e073110..ce50a2ce671f87d0db77e15534d7b26ceed1fcde 100755 (executable)
@@ -294,6 +294,7 @@ sub pickos {
             /\(.*VMS.*\)/ && do {push @os, "OpenVMS";};
             /\(.*Win.*\)/ && do {
               /\(.*Windows XP.*\)/ && do {push @os, "Windows XP";};
+              /\(.*Windows NT 6\.2.*\)/ && do {push @os, "Windows 8";};
               /\(.*Windows NT 6\.1.*\)/ && do {push @os, "Windows 7";};
               /\(.*Windows NT 6\.0.*\)/ && do {push @os, "Windows Vista";};
               /\(.*Windows NT 5\.2.*\)/ && do {push @os, "Windows Server 2003";};