danf: curl-www/dlwiz index.cgi,1.11,1.12

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/dlwiz
In directory labb:/tmp/cvs-serv10650

Modified Files:
	index.cgi 
Log Message:
Fixed Solaris 10 version detection.  Added Syllable detection.


Index: index.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/dlwiz/index.cgi,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- index.cgi	4 Nov 2005 23:48:33 -0000	1.11
+++ index.cgi	8 Nov 2005 21:04:17 -0000	1.12
@@ -308,6 +308,9 @@
     elsif($ua =~ /DOS/i) {
         $sel_os = "DOS";
     }
+    elsif($ua =~ /AtheOS/i) {
+        $sel_os = "Syllable";
+    }
     elsif($ua =~ /OS\/2/i) {
         $sel_os = "OS/2";
     }
@@ -521,7 +524,7 @@
             $sel_ver = "2." . $1;
         }
         elsif($pick_os eq "Solaris" && $ua =~ /SunOS 5\.([7-9]+)|SunOS 5\.(1\d+)/i) {
-            $sel_ver = $1;
+            $sel_ver = $1 . $2;
         }
 
         showsteps();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.