aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-10-19 16:17:12 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-10-19 16:17:12 +0000
commita58a9a67823c02ec90ddc77cf49114f30bea05b6 (patch)
tree2ba432366e02a53ed49537154d6102914d98da71
parent[w3m-dev 03996] HELP_DIR and funcname.tab (diff)
downloadw3m-a58a9a67823c02ec90ddc77cf49114f30bea05b6.tar.gz
w3m-a58a9a67823c02ec90ddc77cf49114f30bea05b6.zip
[w3m-dev 04002] Re: function and w3m-control
* url.c (getURLScheme): accept numeric in scheme From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--url.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d352044..2125075 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-20 ABE Yuji <cbo46560@pop12.odn.ne.jp>
+
+ * [w3m-dev 04002] Re: function and w3m-control
+ * url.c (getURLScheme): accept numeric in scheme
+
2003-10-18 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03996] HELP_DIR and funcname.tab
@@ -8210,4 +8215,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.884 2003/10/17 16:46:23 ukai Exp $
+$Id: ChangeLog,v 1.885 2003/10/19 16:17:12 ukai Exp $
diff --git a/url.c b/url.c
index 14aa63c..99134b7 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.83 2003/09/26 17:59:51 ukai Exp $ */
+/* $Id: url.c,v 1.84 2003/10/19 16:17:12 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -1238,7 +1238,7 @@ getURLScheme(char **url)
int i;
int scheme = SCM_MISSING;
- while (*p && (IS_ALPHA(*p) || *p == '.' || *p == '+' || *p == '-'))
+ while (*p && (IS_ALNUM(*p) || *p == '.' || *p == '+' || *p == '-'))
p++;
if (*p == ':') { /* scheme found */
scheme = SCM_UNKNOWN;