aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-04-01 03:34:32 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-04-01 03:34:32 +0000
commit35f00aea99d23f37b75d51fab314f71085de2b50 (patch)
tree016911d720520945618f196e19e01ce053cd0f16
parenteccc8292fd6dfac841c0fee32e9a15c9c88de140 (diff)
Notes
-rw-r--r--irc/sic/files/patch-aa10
-rw-r--r--irc/sic/files/patch-ab28
-rw-r--r--print/bibcard/files/patch-0232
3 files changed, 65 insertions, 5 deletions
diff --git a/irc/sic/files/patch-aa b/irc/sic/files/patch-aa
new file mode 100644
index 000000000000..c2d9922594aa
--- /dev/null
+++ b/irc/sic/files/patch-aa
@@ -0,0 +1,10 @@
+--- utils.h.orig Sun Mar 31 19:33:07 2002
++++ utils.h Sun Mar 31 19:33:11 2002
+@@ -7,7 +7,6 @@
+ #ifndef _utils_h_
+ #define _utils_h_
+
+-extern char * strcasestr(const char *, const char *);
+ extern int rmatch(const char *, const char *);
+ extern char * my_cftime(char *, const int len, const char *, const time_t);
+ extern char * my_strftime(char *, const int len, const char *);
diff --git a/irc/sic/files/patch-ab b/irc/sic/files/patch-ab
new file mode 100644
index 000000000000..5985ab50b7e6
--- /dev/null
+++ b/irc/sic/files/patch-ab
@@ -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.
+ */
diff --git a/print/bibcard/files/patch-02 b/print/bibcard/files/patch-02
index c0d6a8188cf0..5cbd3f19e43c 100644
--- a/print/bibcard/files/patch-02
+++ b/print/bibcard/files/patch-02
@@ -1,5 +1,5 @@
--- bt_ex.c.orig Thu May 14 09:10:37 1992
-+++ bt_ex.c Tue Apr 8 15:26:22 1997
++++ bt_ex.c Sun Mar 31 19:35:56 2002
@@ -212,7 +212,8 @@
@@ -27,16 +27,38 @@
#define NULL 0
char * /* found string, or NULL if none */
-@@ -286,7 +290,7 @@
+@@ -286,29 +290,7 @@
return(NULL);
return(scan);
}
-
+-
+-char * /*A case insensitive version */
+- strcasestr(s, wanted)
+-CONST char *s;
+-CONST char *wanted;
+-{
+- register CONST char *scan;
+- register SIZET len;
+- register char firstc;
+- extern int strcmp();
+- extern SIZET strlen();
+-
+- firstc = ( isupper( *wanted) ? tolower( *wanted) : *wanted);
+- len = strlen(wanted);
+- for (scan = s; strncasecmp(scan, wanted, len) != 0; ) {
+-
+- if (*scan++ == '\0')
+- return(NULL);
+- }
+- return(scan);
+-}
+-
+#endif
- char * /*A case insensitive version */
- strcasestr(s, wanted)
-@@ -640,9 +644,11 @@
+ void toLower(s1)
+
+@@ -640,9 +622,11 @@
/* limit for ATTR_LIST including a pad */
#define MAX_XVIEW_ATTRIBUTES (255 - 20)