]> git.pld-linux.org Git - packages/xchat-gnome.git/commitdiff
- adjusted to xchat 2.4.5
authorMichal Chruszcz <mchruszcz@gmail.com>
Sun, 11 Sep 2005 07:58:40 +0000 (07:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xchat-domains.patch -> 1.2

xchat-domains.patch

index 30393b39a59a6a685c35a5d99469213b123f64dc..c8b9e95e40a07884a1b117872955df5f3e6a40e0 100644 (file)
@@ -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] == '.' &&
This page took 0.16141 seconds and 4 git commands to generate.