(cat): Use memmove rather than bcopy.
authorJim Meyering <jim@meyering.net>
Sat, 28 Jan 1995 04:45:19 +0000 (04:45 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 28 Jan 1995 04:45:19 +0000 (04:45 +0000)
src/cat.c

index 8ef9d71..2d1df91 100644 (file)
--- 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);
            }