Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / mail / xbuffy / patches / patch-ad
blobae71e179ec6867d6c7ff085e84eb109c31c86017
1 $NetBSD$
3 --- libdyn/dyn_delete.c.orig    Tue Aug 10 04:37:42 1999
4 +++ libdyn/dyn_delete.c
5 @@ -11,6 +11,7 @@
6   */
7  
8  #include <stdio.h>
9 +#include <string.h>
11  #include "dynP.h"
13 @@ -46,7 +47,7 @@
14       else {
15           if (obj->debug)
16                fprintf(stderr,
17 -                      "dyn: delete: copying %d bytes from %d + %d to + %d.\n",
18 +                      "dyn: delete: copying %d bytes from %p + %d to + %d.\n",
19                        obj->el_size*(obj->num_el - index), obj->array,
20                        (index+1)*obj->el_size, index*obj->el_size);
21           
22 @@ -61,7 +62,7 @@
23           if (obj->paranoid) {
24                if (obj->debug)
25                     fprintf(stderr,
26 -                           "dyn: delete: zeroing %d bytes from %d + %d\n",
27 +                           "dyn: delete: zeroing %d bytes from %p + %d\n",
28                             obj->el_size, obj->array,
29                             obj->el_size*(obj->num_el - 1));
30  /*            bzero(obj->array + obj->el_size*(obj->num_el - 1), obj->el_size);*/