From: Jim Meyering Date: Sat, 28 Jan 1995 04:45:19 +0000 (+0000) Subject: (cat): Use memmove rather than bcopy. X-Git-Tag: textutils-1_12_1~320 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a915d886e34bddeee838e72b74e162e21786afc;p=thirdparty%2Fcoreutils.git (cat): Use memmove rather than bcopy. --- diff --git a/src/cat.c b/src/cat.c index 8ef9d7161b..2d1df91d8f 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); }