0db35661ff
provided by Jens A Nilsson in pkg/11628: Xbuffy is a XBiff-type program with a lot of new options.
21 lines
542 B
Text
21 lines
542 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2000/12/05 02:04:49 wiz Exp $
|
|
|
|
--- libdyn/dyn_append.c.orig Tue Aug 10 04:34:01 1999
|
|
+++ libdyn/dyn_append.c
|
|
@@ -11,6 +11,7 @@
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
+#include <string.h>
|
|
|
|
#include "dynP.h"
|
|
|
|
@@ -20,7 +21,7 @@
|
|
int num;
|
|
{
|
|
if (obj->debug)
|
|
- fprintf(stderr, "dyn: append: Writing %d bytes from %d to %d + %d\n",
|
|
+ fprintf(stderr, "dyn: append: Writing %d bytes from %p to %p + %d\n",
|
|
obj->el_size*num, els, obj->array, obj->num_el*obj->el_size);
|
|
|
|
if (obj->size < obj->num_el + num) {
|