From 2019f3851a380ea4f060ca449d2f7509de30c551 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 5 Sep 2020 14:11:12 +0000 Subject: snapshot of project "lynx", label v2-9-0dev_6 --- src/LYStrings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/LYStrings.c') diff --git a/src/LYStrings.c b/src/LYStrings.c index d12a6e36..f4719f87 100644 --- a/src/LYStrings.c +++ b/src/LYStrings.c @@ -1,4 +1,4 @@ -/* $LynxId: LYStrings.c,v 1.276 2019/01/02 23:42:50 tom Exp $ */ +/* $LynxId: LYStrings.c,v 1.277 2020/09/04 00:34:02 tom Exp $ */ #include #include #include @@ -592,7 +592,7 @@ char *LYstrncpy(char *target, if (n > 0) { if (n > len) n = len; - (void) StrNCpy(target, source, n); + (void) memcpy(target, source, (size_t) n); } else { n = 0; } -- cgit 1.4.1-2-gfad0