From 1cf0ea1f0affb40b050524b4c65ec988152df068 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 5 Mar 2004 18:25:33 +0000 Subject: 2004-03-05 Joel Sherrill * libnetworking/lib/ftpfs.c: Switch bcopy to memcpy. --- cpukit/ChangeLog | 4 ++++ cpukit/libnetworking/lib/ftpfs.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 19f41cbc1e..44b5f09615 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2004-03-05 Joel Sherrill + + * libnetworking/lib/ftpfs.c: Switch bcopy to memcpy. + 2004-03-05 Joel Sherrill * libcsupport/src/newlibc.c, libcsupport/src/sync.c: Eliminate diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c index 28ec9422ae..8a6769f2de 100644 --- a/cpukit/libnetworking/lib/ftpfs.c +++ b/cpukit/libnetworking/lib/ftpfs.c @@ -636,8 +636,8 @@ int rtems_ftp_open( hent = gethostbyname(hostname); if (hent != NULL) { - bcopy(hent->h_addr, - (char *)(&(fsp->farCtrlAddress.sin_addr)), + memcpy((char *)(&(fsp->farCtrlAddress.sin_addr)), + hent->h_addr, sizeof(fsp->farCtrlAddress.sin_addr)); } else { -- cgit v1.2.3