From 9a915d886e34bddeee838e72b74e162e21786afc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 28 Jan 1995 04:45:19 +0000 Subject: (cat): Use memmove rather than bcopy. --- src/cat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cat.c') 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); } -- cgit v1.2.3-54-g00ecf