diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-02 00:20:51 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-10 16:09:53 +0100 |
commit | 82a87d043498eeacb7e4f3edc85d1b7c424ea853 (patch) | |
tree | 60d3978b0722d23f01da47eb534ec6fa271b3ed8 /libiohelp | |
parent | 0a4ada8d40fb687a659161ff7e0d1d0994264402 (diff) |
Replace `bcopy' with `memcpy' or `memmove' as appropriate
* ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as
appropriate.
* ext2fs/pager.c: Likewise.
* isofs/lookup.c: Likewise.
* isofs/main.c: Likewise.
* isofs/rr.c: Likewise.
* libdiskfs/file-get-trans.c: Likewise.
* libiohelp/return-buffer.c: Likewise.
* libpager/pagemap.c: Likewise.
* libpipe/pq.c: Likewise.
* libpipe/pq.h: Likewise.
* libstore/unzipstore.c: Likewise.
* mach-defpager/default_pager.c: Likewise.
* pfinet/ethernet.c: Likewise.
* pfinet/tunnel.c: Likewise.
* storeio/dev.c: Likewise.
Diffstat (limited to 'libiohelp')
-rw-r--r-- | libiohelp/return-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiohelp/return-buffer.c b/libiohelp/return-buffer.c index e186698f..1beb4aeb 100644 --- a/libiohelp/return-buffer.c +++ b/libiohelp/return-buffer.c @@ -44,7 +44,7 @@ iohelp_return_malloced_buffer (char *buf, size_t len, if (! err) { if (len) - bcopy (buf, *rbuf, len); + memcpy (*rbuf, buf, len); *rlen = len; } |