summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-01-28 04:45:19 +0000
committerJim Meyering <jim@meyering.net>1995-01-28 04:45:19 +0000
commit9a915d886e34bddeee838e72b74e162e21786afc (patch)
tree3240cc41738a6525871e32fbb4c2bf3b84ef4278 /src
parent19765460626c97d68cf9f7399891c453d91249b0 (diff)
downloadcoreutils-9a915d886e34bddeee838e72b74e162e21786afc.tar.xz
(cat): Use memmove rather than bcopy.
Diffstat (limited to 'src')
-rw-r--r--src/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat.c b/src/cat.c
index 8ef9d7161..2d1df91d8 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -524,7 +524,7 @@ cat (inbuf, insize, outbuf, outsize, quote,
/* Move the remaining bytes to the beginning of the
buffer. */
- bcopy (wp, outbuf, bpout - wp);
+ memmove (outbuf, wp, bpout - wp);
bpout = outbuf + (bpout - wp);
}