mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
addde4c5de
- Change maintainer since predecessor is not responsible. PR: ports/27199 Submitted by: Kawaguti Ginga <ginga@athena.club.ne.jp>
30 lines
950 B
Plaintext
30 lines
950 B
Plaintext
diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_delete.c ./libdyn/dyn_delete.c
|
|
--- ../../xbuffy-3.3.bl.3/libdyn/dyn_delete.c Fri Feb 20 17:54:14 1998
|
|
+++ ./libdyn/dyn_delete.c Tue May 8 13:13:43 2001
|
|
@@ -11,6 +11,7 @@
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
+#include <string.h>
|
|
|
|
#include "dynP.h"
|
|
|
|
@@ -45,7 +46,7 @@
|
|
else {
|
|
if (obj->debug)
|
|
fprintf(stderr,
|
|
- "dyn: delete: copying %d bytes from %d + %d to + %d.\n",
|
|
+ "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,7 +57,7 @@
|
|
if (obj->paranoid) {
|
|
if (obj->debug)
|
|
fprintf(stderr,
|
|
- "dyn: delete: zeroing %d bytes from %d + %d\n",
|
|
+ "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),
|