aboutsummaryrefslogtreecommitdiff
path: root/net/ns2/files
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-06-03 01:36:38 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-06-03 01:36:38 +0000
commit1a5a0b985aab82ee34548099c1b5a007db116b82 (patch)
treec6daec1e61d9d69ca8e97adec6f9450d92c54c3e /net/ns2/files
parent17ad569499150aef6210d1b6eab0defb952612da (diff)
downloadports-1a5a0b985aab82ee34548099c1b5a007db116b82.tar.gz
ports-1a5a0b985aab82ee34548099c1b5a007db116b82.zip
Notes
Diffstat (limited to 'net/ns2/files')
-rw-r--r--net/ns2/files/patch-aa10
-rw-r--r--net/ns2/files/patch-ab32
2 files changed, 42 insertions, 0 deletions
diff --git a/net/ns2/files/patch-aa b/net/ns2/files/patch-aa
new file mode 100644
index 000000000000..b8119d7daa46
--- /dev/null
+++ b/net/ns2/files/patch-aa
@@ -0,0 +1,10 @@
+--- indep-utils/webtrace-conv/ucb/utils.h.orig Tue May 28 17:13:35 2002
++++ indep-utils/webtrace-conv/ucb/utils.h Tue May 28 17:13:44 2002
+@@ -107,7 +107,6 @@
+
+ /************* A really dumb implementation of strnstr and strcasestr ***********/
+ char *dumb_strnstr(char *str, char *substr, int n);
+-const char *strcasestr(const char *string, const char *substr);
+
+ /*
+ ***************** Socket convenience utilities ****************
diff --git a/net/ns2/files/patch-ab b/net/ns2/files/patch-ab
new file mode 100644
index 000000000000..54be008b310b
--- /dev/null
+++ b/net/ns2/files/patch-ab
@@ -0,0 +1,32 @@
+--- indep-utils/webtrace-conv/ucb/utils.cc.orig Tue May 28 17:14:30 2002
++++ indep-utils/webtrace-conv/ucb/utils.cc Tue May 28 17:14:39 2002
+@@ -56,29 +56,6 @@
+ #include "utils.h"
+
+ /*
+- * Case-insensitive version of strstr()
+- */
+-
+-
+-const char *
+-strcasestr(const char *string, const char *substr)
+-{
+- int str_len, substr_len, cmplen, i;
+- const char *ptr;
+-
+- str_len = strlen(string);
+- substr_len = strlen(substr);
+- cmplen = str_len - substr_len + 1;
+-
+- for (ptr = string, i=0; i<cmplen; i++, ptr++) {
+- if (strncasecmp(ptr, substr, substr_len) == 0)
+- return ptr;
+- }
+- return NULL;
+-}
+-
+-
+-/*
+ ************* Dump out the hexification of the buffer ***********
+ */
+ void dump_buf(FILE *std, char *buf, int retlen)