]> git.pld-linux.org Git - packages/xchat.git/blob - xchat-domains.patch
- change requires_eq to R: perl(DynaLoader) = actual_version
[packages/xchat.git] / xchat-domains.patch
1 diff -ur o-xchat-2.4.0/src/common/text.c xchat-2.4.0/src/common/text.c
2 --- o-xchat-2.4.0/src/common/text.c     2004-08-11 05:00:42.000000000 -0600
3 +++ xchat-2.4.0/src/common/text.c       2004-11-12 16:04:19.470096463 -0700
4 @@ -178,9 +178,27 @@
5         if (!strncasecmp (word + len - 4, ".com", 4))
6                 return WORD_HOST;
7  
8 +       if (!strncasecmp (word + len - 4, ".biz", 4))
9 +               return WORD_HOST;
10 +
11 +       if (!strncasecmp (word + len - 5, ".name", 5))
12 +               return WORD_HOST;
13 +
14 +       if (!strncasecmp (word + len - 5, ".info", 5))
15 +               return WORD_HOST;
16 +
17         if (!strncasecmp (word + len - 4, ".edu", 4))
18                 return WORD_HOST;
19  
20 +       if (!strncasecmp (word + len - 3, ".us", 3))
21 +               return WORD_HOST;
22 +
23 +       if (!strncasecmp (word + len - 3, ".uk", 3))
24 +               return WORD_HOST;
25 +
26 +       if (!strncasecmp (word + len - 3, ".jp", 3))
27 +               return WORD_HOST;
28 +
29         if (len > 5)
30         {
31                 if (word[len - 3] == '.' &&
This page took 0.028882 seconds and 3 git commands to generate.