danf: curl-www/dlwiz index.cgi,1.3,1.4

[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-serv3238

Modified Files:
	index.cgi 
Log Message:
Improved auto-detection of CPU and OS flavour


Index: index.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/dlwiz/index.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- index.cgi	31 Jan 2005 15:30:16 -0000	1.3
+++ index.cgi	7 Feb 2005 18:21:15 -0000	1.4
@@ -417,6 +417,9 @@
         elsif($ua=~ /gentoo/i) {
             $sel_flav = "Gentoo";
         }
+        elsif($ua=~ /cygwin/i) {
+            $sel_flav = "cygwin";
+        }
 
         showsteps();
 
@@ -531,9 +534,15 @@
         elsif($ua =~ /ia64/i) {
             $sel_cpu = "ia64";
         }
-        elsif($ua =~ /x86_64|athlon/i) {
+        elsif($ua =~ /x86_64|athlon|AMD64/i) {
             $sel_cpu = "x86_64";
         }
+        elsif($ua =~ /alpha/i) {
+            $sel_cpu = "Alpha";
+        }
+        elsif($ua =~ /arm/i) {
+            $sel_cpu = "StrongARM";
+        }
 
         my $ver=$pick_ver;
         if($ver eq "-") {

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-www-commits
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.