]> git.pld-linux.org Git - packages/xchat.git/commitdiff
- added.
authoraredridel <aredridel@pld-linux.org>
Fri, 12 Nov 2004 23:10:46 +0000 (23:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- adds .info and other domains to recognizer.

Changed files:
    xchat-domains.patch -> 1.1

xchat-domains.patch [new file with mode: 0644]

diff --git a/xchat-domains.patch b/xchat-domains.patch
new file mode 100644 (file)
index 0000000..30393b3
--- /dev/null
@@ -0,0 +1,31 @@
+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;
++      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.703762 seconds and 4 git commands to generate.