diff options
author | Jim Meyering <jim@meyering.net> | 1995-01-28 04:45:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-01-28 04:45:19 +0000 |
commit | 9a915d886e34bddeee838e72b74e162e21786afc (patch) | |
tree | 3240cc41738a6525871e32fbb4c2bf3b84ef4278 /src | |
parent | 19765460626c97d68cf9f7399891c453d91249b0 (diff) | |
download | coreutils-9a915d886e34bddeee838e72b74e162e21786afc.tar.xz |
(cat): Use memmove rather than bcopy.
Diffstat (limited to 'src')
-rw-r--r-- | src/cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |