summaryrefslogtreecommitdiff
path: root/irc/sic/files/patch-utils.c
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-17 03:17:29 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-17 03:17:29 +0000
commit092e7fb981f3dbabea0ceb1361833b896f54f70a (patch)
tree1d3f3a67f0f8c9e82e8e9bf476fb19b06fe0411e /irc/sic/files/patch-utils.c
parent- Update to 3.0.4 [1] (diff)
Add missing patch, and rename patch-xx.
Submitted by: adamw@
Notes
Notes: svn path=/head/; revision=365150
Diffstat (limited to 'irc/sic/files/patch-utils.c')
-rw-r--r--irc/sic/files/patch-utils.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/irc/sic/files/patch-utils.c b/irc/sic/files/patch-utils.c
new file mode 100644
index 000000000000..5985ab50b7e6
--- /dev/null
+++ b/irc/sic/files/patch-utils.c
@@ -0,0 +1,28 @@
+--- utils.c.orig Sun Mar 31 19:32:45 2002
++++ utils.c Sun Mar 31 19:32:55 2002
+@@ -12,25 +12,6 @@
+
+ #include "os.h"
+
+-/* strcasestr: case insensitive version of strstr() */
+-char *
+-strcasestr(s1, s2)
+- char *s1, *s2;
+-{
+- int len;
+-
+- assert( s1 && s2 );
+-
+- len = strlen(s2);
+- while (*s1)
+- {
+- if (!strncasecmp(s1, s2, len))
+- return s1;
+- s1++;
+- }
+- return NULL;
+-}
+-
+ /* match: some lame version
+ * returns 0 if no match.
+ */