SOURCES: xchat-domains.patch - adjusted to xchat 2.4.5
troll
troll at pld-linux.org
Sun Sep 11 09:58:47 CEST 2005
Author: troll Date: Sun Sep 11 07:58:46 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- adjusted to xchat 2.4.5
---- Files affected:
SOURCES:
xchat-domains.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/xchat-domains.patch
diff -u SOURCES/xchat-domains.patch:1.1 SOURCES/xchat-domains.patch:1.2
--- SOURCES/xchat-domains.patch:1.1 Sat Nov 13 00:10:46 2004
+++ SOURCES/xchat-domains.patch Sun Sep 11 09:58:40 2005
@@ -1,31 +1,11 @@
-diff -ur o-xchat-2.4.0/src/common/text.c xchat-2.4.0/src/common/text.c
---- o-xchat-2.4.0/src/common/text.c 2004-08-11 05:00:42.000000000 -0600
-+++ xchat-2.4.0/src/common/text.c 2004-11-12 16:04:19.470096463 -0700
-@@ -178,9 +178,27 @@
- if (!strncasecmp (word + len - 4, ".com", 4))
- return WORD_HOST;
+--- xchat-2.4.5/src/common/url.c~ 2005-09-11 09:46:48.038559736 +0200
++++ xchat-2.4.5/src/common/url.c 2005-09-11 09:50:10.169831112 +0200
+@@ -240,6 +240,8 @@
+ return WORD_HOST;
+ if (CMPL (pre, '.','c','o','m'))
+ return WORD_HOST;
++ if (CMPL (pre, '.','b','i','z'))
++ return WORD_HOST;
+ if (CMPL (pre, '.','e','d','u'))
+ return WORD_HOST;
-+ if (!strncasecmp (word + len - 4, ".biz", 4))
-+ return WORD_HOST;
-+
-+ if (!strncasecmp (word + len - 5, ".name", 5))
-+ return WORD_HOST;
-+
-+ if (!strncasecmp (word + len - 5, ".info", 5))
-+ return WORD_HOST;
-+
- if (!strncasecmp (word + len - 4, ".edu", 4))
- return WORD_HOST;
-
-+ if (!strncasecmp (word + len - 3, ".us", 3))
-+ return WORD_HOST;
-+
-+ if (!strncasecmp (word + len - 3, ".uk", 3))
-+ return WORD_HOST;
-+
-+ if (!strncasecmp (word + len - 3, ".jp", 3))
-+ return WORD_HOST;
-+
- if (len > 5)
- {
- if (word[len - 3] == '.' &&
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/xchat-domains.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list