From 392dd54529039ecca43698a1a67f054c1aa4bf82 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 28 Jan 1995 13:00:10 +0000 Subject: [PATCH] (fold_file): Use memmove instead of bcopy. --- src/fold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fold.c b/src/fold.c index d6c07d6151..99174b12ec 100644 --- a/src/fold.c +++ b/src/fold.c @@ -237,7 +237,7 @@ fold_file (filename, width) putchar ('\n'); /* Move the remainder to the beginning of the next line. The areas being copied here might overlap. */ - bcopy (line_out + logical_end, line_out, + memmove (line_out, line_out + logical_end, offset_out - logical_end); offset_out -= logical_end; for (column = i = 0; i < offset_out; i++) -- 2.47.3