From 384c9fdd8dac411c8f19a8e534a725e5a0a5dbf3 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 15 Oct 2019 18:29:21 +0000 Subject: [PATCH] use strncpy... --- libexec/ftpd/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index f38e5db0997b..2518fcf7433e 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2019/10/13 07:28:11 mrg Exp $ +# $NetBSD: Makefile,v 1.67 2019/10/15 18:29:21 christos Exp $ # @(#)Makefile 8.2 (Berkeley) 4/4/94 .include @@ -39,6 +39,9 @@ LDADD+= -lskey .endif .endif # USE_PAM == no +COPTS.ftpd.c += ${GCC_NO_STRINGOP_TRUNCATION} +COPTS.logwtmp.c += ${GCC_NO_STRINGOP_TRUNCATION} + ftpd.o ftpcmd.o: version.h #.if (${USE_KERBEROS} != "no")