summaryrefslogtreecommitdiffstats
path: root/mail/xbuffy/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'mail/xbuffy/files/patch-ae')
-rw-r--r--mail/xbuffy/files/patch-ae46
1 files changed, 46 insertions, 0 deletions
diff --git a/mail/xbuffy/files/patch-ae b/mail/xbuffy/files/patch-ae
new file mode 100644
index 0000000..2dfa30d
--- /dev/null
+++ b/mail/xbuffy/files/patch-ae
@@ -0,0 +1,46 @@
+*** libdyn/dyn_delete.c.orig Fri Dec 10 14:56:03 1993
+--- libdyn/dyn_delete.c Wed Jun 21 16:45:00 1995
+***************
+*** 11,16 ****
+--- 11,17 ----
+ */
+
+ #include <stdio.h>
++ #include <string.h>
+
+ #include "dynP.h"
+
+***************
+*** 45,51 ****
+ else {
+ if (obj->debug)
+ fprintf(stderr,
+! "dyn: delete: copying %d bytes from %d + %d to + %d.\n",
+ obj->el_size*(obj->num_el - index), obj->array,
+ (index+1)*obj->el_size, index*obj->el_size);
+
+--- 46,52 ----
+ else {
+ if (obj->debug)
+ fprintf(stderr,
+! "dyn: delete: copying %d bytes from %p + %d to + %d.\n",
+ obj->el_size*(obj->num_el - index), obj->array,
+ (index+1)*obj->el_size, index*obj->el_size);
+
+***************
+*** 56,62 ****
+ if (obj->paranoid) {
+ if (obj->debug)
+ fprintf(stderr,
+! "dyn: delete: zeroing %d bytes from %d + %d\n",
+ obj->el_size, obj->array,
+ obj->el_size*(obj->num_el - 1));
+ bzero(obj->array + obj->el_size*(obj->num_el - 1),
+--- 57,63 ----
+ if (obj->paranoid) {
+ if (obj->debug)
+ fprintf(stderr,
+! "dyn: delete: zeroing %d bytes from %p + %d\n",
+ obj->el_size, obj->array,
+ obj->el_size*(obj->num_el - 1));
+ bzero(obj->array + obj->el_size*(obj->num_el - 1),
OpenPOWER on IntegriCloud