Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ftpd use strncpy...



details:   https://anonhg.NetBSD.org/src/rev/4f04161678b7
branches:  trunk
changeset: 455355:4f04161678b7
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 15 18:29:21 2019 +0000

description:
use strncpy...

diffstat:

 libexec/ftpd/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 225d1f759dd1 -r 4f04161678b7 libexec/ftpd/Makefile
--- a/libexec/ftpd/Makefile     Tue Oct 15 18:20:44 2019 +0000
+++ b/libexec/ftpd/Makefile     Tue Oct 15 18:29:21 2019 +0000
@@ -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 <bsd.own.mk>
@@ -39,6 +39,9 @@
 .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")



Home | Main Index | Thread Index | Old Index