summaryrefslogtreecommitdiff
path: root/net/gopher/files/patch-ab
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-01-26 11:27:44 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-01-26 11:27:44 +0000
commit0438d90b363b3ca267505fe28ed18d044e0b9f88 (patch)
treea9e42097ba488067a089e4615735f80f304d85fc /net/gopher/files/patch-ab
parentRemove stale patches (diff)
CVS didn't add these properly along with the rest of the update
Notes
Notes: svn path=/head/; revision=53778
Diffstat (limited to 'net/gopher/files/patch-ab')
-rw-r--r--net/gopher/files/patch-ab31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/gopher/files/patch-ab b/net/gopher/files/patch-ab
new file mode 100644
index 000000000000..cfc380516471
--- /dev/null
+++ b/net/gopher/files/patch-ab
@@ -0,0 +1,31 @@
+--- ./object/util.c.orig Tue Dec 19 17:19:20 2000
++++ ./object/util.c Sat Jan 26 02:16:51 2002
+@@ -584,28 +584,6 @@
+
+
+ /*
+- * String insensitive strstr
+- */
+-
+-char *
+-strcasestr(char *inputline, char *match)
+-{
+- int matchlen=0;
+- int i, inlen;
+-
+- matchlen = strlen(match);
+- inlen = strlen(inputline);
+-
+- for(i=0; i<inlen; i++) {
+- if (strncasecmp(inputline+i, match, matchlen)==0)
+- return(inputline+i);
+- }
+-
+- return(NULL);
+-}
+-
+-
+-/*
+ * Iterate over a string, return a pointer to the next character
+ * that isn't whitespace.
+ */