summaryrefslogtreecommitdiff
path: root/mail/xbuffy/files/patch-af
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-06-22 06:32:41 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-06-22 06:32:41 +0000
commit050eccf96c717a35c6ae02f3fbfe050c799bb27c (patch)
tree53ab3ff80d7c0fbb4d0b1ae6bccbc7311638ae42 /mail/xbuffy/files/patch-af
parentUpgrade 4.29 -> 4.33 (diff)
Another biff replacement.
Submitted by: Dave Chapeskie <dchapes@ale.zeus.leitch.com>
Diffstat (limited to '')
-rw-r--r--mail/xbuffy/files/patch-af46
1 files changed, 46 insertions, 0 deletions
diff --git a/mail/xbuffy/files/patch-af b/mail/xbuffy/files/patch-af
new file mode 100644
index 000000000000..a1d43fb9f586
--- /dev/null
+++ b/mail/xbuffy/files/patch-af
@@ -0,0 +1,46 @@
+*** libdyn/dyn_insert.c.orig Fri Dec 10 14:56:04 1993
+--- libdyn/dyn_insert.c Wed Jun 21 16:47:42 1995
+***************
+*** 11,16 ****
+--- 11,17 ----
+ */
+
+ #include <stdio.h>
++ #include <string.h>
+ #include "dynP.h"
+
+ int DynInsert(obj, index, els, num)
+***************
+*** 35,41 ****
+ }
+
+ if (obj->debug)
+! fprintf(stderr,"dyn: insert: Moving %d bytes from %d + %d to + %d\n",
+ (obj->num_el-index)*obj->el_size, obj->array,
+ obj->el_size*index, obj->el_size*(index+num));
+
+--- 36,42 ----
+ }
+
+ if (obj->debug)
+! 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,52 ****
+ (obj->num_el-index)*obj->el_size);
+
+ if (obj->debug)
+! fprintf(stderr, "dyn: insert: Copying %d bytes from %d to %d + %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);
+--- 47,53 ----
+ (obj->num_el-index)*obj->el_size);
+
+ if (obj->debug)
+! 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);