aboutsummaryrefslogtreecommitdiff
path: root/mail/xbuffy/files/patch-ad
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2001-05-29 14:02:56 +0000
committerSADA Kenji <sada@FreeBSD.org>2001-05-29 14:02:56 +0000
commitaddde4c5de201350b81a62b4228e7df237e28ef1 (patch)
tree5fe0d1774414faf7205c392d37106de9a9dc1ffd /mail/xbuffy/files/patch-ad
parentc62c82bfd08f0d8d2e372ba052a237e890cfe0ff (diff)
Notes
Diffstat (limited to 'mail/xbuffy/files/patch-ad')
-rw-r--r--mail/xbuffy/files/patch-ad40
1 files changed, 29 insertions, 11 deletions
diff --git a/mail/xbuffy/files/patch-ad b/mail/xbuffy/files/patch-ad
index 80dac2fb31c5..893ecc332448 100644
--- a/mail/xbuffy/files/patch-ad
+++ b/mail/xbuffy/files/patch-ad
@@ -1,11 +1,29 @@
-*** libdyn/dyn_create.c.orig Fri Dec 10 14:56:02 1993
---- libdyn/dyn_create.c Wed Jun 21 16:39:16 1995
-***************
-*** 12,17 ****
---- 12,18 ----
- */
-
- #include <stdio.h>
-+ #include <stdlib.h>
-
- #include "dynP.h"
+diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_insert.c ./libdyn/dyn_insert.c
+--- ../../xbuffy-3.3.bl.3/libdyn/dyn_insert.c Fri Feb 20 17:54:14 1998
++++ ./libdyn/dyn_insert.c Tue May 8 13:13:43 2001
+@@ -11,6 +11,7 @@
+ */
+
+ #include <stdio.h>
++#include <string.h>
+ #include "dynP.h"
+
+ int DynInsert(obj, index, els, num)
+@@ -35,7 +36,7 @@
+ }
+
+ if (obj->debug)
+- fprintf(stderr,"dyn: insert: Moving %d bytes from %d + %d to + %d\n",
++ fprintf(stderr,"dyn: insert: Moving %d bytes from %p + %d to + %d\n",
+ (obj->num_el-index)*obj->el_size, obj->array,
+ obj->el_size*index, obj->el_size*(index+num));
+
+@@ -46,7 +47,7 @@
+ (obj->num_el-index)*obj->el_size);
+
+ if (obj->debug)
+- fprintf(stderr, "dyn: insert: Copying %d bytes from %d to %d + %d\n",
++ fprintf(stderr, "dyn: insert: Copying %d bytes from %p to %p + %d\n",
+ obj->el_size*num, els, obj->array, obj->el_size*index);
+
+ bcopy(els, obj->array + obj->el_size*index, obj->el_size*num);