From 8746390ddac31d9b9546261dcfd7ea756d3c78d1 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 13 Feb 1995 16:07:39 +0000 Subject: [PATCH] Changed bcopy to memcopy --- src/db/dbEvent.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/db/dbEvent.c b/src/db/dbEvent.c index 951091e4f..9e614c239 100644 --- a/src/db/dbEvent.c +++ b/src/db/dbEvent.c @@ -591,12 +591,12 @@ int db_post_single_event(struct event_block *pevent) ev_que->valque[putix].sevr = sevr; ev_que->valque[putix].time = precord->time; /* - * use bcopy to avoid a bus error on + * use memcpy to avoid a bus error on * union copy of char in the db at an odd * address */ - bcopy( pevent->paddr->pfield, - (char *)&ev_que->valque[putix].field, + memcpy( (char *)&ev_que->valque[putix].field, + pevent->paddr->pfield, dbr_size[pevent->paddr->field_type]); } /* notify the event handler */ @@ -669,12 +669,12 @@ unsigned int select ev_que->valque[putix].time = precord->time; /* - * use bcopy to avoid a bus error on + * use memcpy to avoid a bus error on * union copy of char in the db at an odd * address */ - bcopy( (char *)event->paddr->pfield, - (char *)&ev_que->valque[putix].field, + memcpy( (char *)&ev_que->valque[putix].field, + (char *)event->paddr->pfield, dbr_size[event->paddr->field_type]); }