Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/nvi/build document non-literal format strings.



details:   https://anonhg.NetBSD.org/src/rev/3aa2fa6b3fb8
branches:  trunk
changeset: 768475:3aa2fa6b3fb8
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 17 12:57:19 2011 +0000

description:
document non-literal format strings.

diffstat:

 usr.bin/nvi/build/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 6aa7fa57736c -r 3aa2fa6b3fb8 usr.bin/nvi/build/Makefile
--- a/usr.bin/nvi/build/Makefile        Wed Aug 17 12:56:55 2011 +0000
+++ b/usr.bin/nvi/build/Makefile        Wed Aug 17 12:57:19 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2011/06/20 07:44:01 mrg Exp $
+#      $NetBSD: Makefile,v 1.16 2011/08/17 12:57:19 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -61,4 +61,7 @@
 .PATH: ${DIST}/regex
 .PATH: ${DIST}/docs/vi.man
 
+COPTS.exf.c += -Wno-format-nonliteral
+COPTS.msg.c += -Wno-format-nonliteral
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index