summaryrefslogtreecommitdiffstats
path: root/bin/csh/lex.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-08-08 00:54:05 +0000
committersteve <steve@FreeBSD.org>1997-08-08 00:54:05 +0000
commit2ae4bfe0cf7c10b991b2c8c56db256ed69aedfb8 (patch)
tree2cede9545dd07ab7b5f1941775ce1b4dee35a206 /bin/csh/lex.c
parentfe3edcd2a19bdb8f85935e9650b068bc7c87da7c (diff)
downloadFreeBSD-src-2ae4bfe0cf7c10b991b2c8c56db256ed69aedfb8.zip
FreeBSD-src-2ae4bfe0cf7c10b991b2c8c56db256ed69aedfb8.tar.gz
More minor nits (mostly using memove instead of memcpy).
Diffstat (limited to 'bin/csh/lex.c')
-rw-r--r--bin/csh/lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/lex.c b/bin/csh/lex.c
index fac2b7e..01c5ce3 100644
--- a/bin/csh/lex.c
+++ b/bin/csh/lex.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)lex.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
- "$Id: lex.c,v 1.6 1997/02/22 14:02:01 peter Exp $";
+ "$Id: lex.c,v 1.7 1997/08/07 21:42:11 steve Exp $";
#endif
#endif /* not lint */
@@ -1508,7 +1508,7 @@ again:
goto again;
}
if (c > 0)
- memcpy(fbuf[buf] + off, ttyline, c * sizeof(Char));
+ memmove(fbuf[buf] + off, ttyline, c * sizeof(Char));
numleft = 0;
}
else {
OpenPOWER on IntegriCloud