diff options
-rw-r--r-- | net/ns/files/patch-aa | 10 | ||||
-rw-r--r-- | net/ns/files/patch-ab | 32 | ||||
-rw-r--r-- | net/ns2/files/patch-aa | 10 | ||||
-rw-r--r-- | net/ns2/files/patch-ab | 32 |
4 files changed, 84 insertions, 0 deletions
diff --git a/net/ns/files/patch-aa b/net/ns/files/patch-aa new file mode 100644 index 0000000..b8119d7 --- /dev/null +++ b/net/ns/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/ns/files/patch-ab b/net/ns/files/patch-ab new file mode 100644 index 0000000..54be008 --- /dev/null +++ b/net/ns/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) diff --git a/net/ns2/files/patch-aa b/net/ns2/files/patch-aa new file mode 100644 index 0000000..b8119d7 --- /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 0000000..54be008 --- /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) |