danf: curl-www/dlwiz index.cgi,1.16,1.17

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

Modified Files:
	index.cgi 
Log Message:
Added better Syllable and RISC OS detection.


Index: index.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/dlwiz/index.cgi,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- index.cgi	31 Aug 2006 23:24:07 -0000	1.16
+++ index.cgi	25 Oct 2006 17:05:29 -0000	1.17
@@ -290,7 +290,7 @@
     elsif($ua =~ /Mac/i) {
         $sel_os = "Mac OS X";
     }
-    elsif($ua =~ /RISC OS/i) {
+    elsif($ua =~ /RISC OS|NetSurf/i) {
         $sel_os = "RISC OS";
     }
     elsif($ua =~ /Symbian|EPOC/i) {	# EPOC is on from the old Psions
@@ -305,7 +305,7 @@
     elsif($ua =~ /DOS/i) {
         $sel_os = "DOS";
     }
-    elsif($ua =~ /AtheOS/i) {
+    elsif($ua =~ /AtheOS|Syllable/i) {
         $sel_os = "Syllable";
     }
     elsif($ua =~ /OS\/2/i) {
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.