Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/5e36f32b0561
branches:  trunk
changeset: 768493:5e36f32b0561
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 17 15:32:20 2011 +0000

description:
document non-literal format strings

diffstat:

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

diffs (17 lines):

diff -r 143cacf34c48 -r 5e36f32b0561 usr.bin/grep/Makefile
--- a/usr.bin/grep/Makefile     Wed Aug 17 14:56:55 2011 +0000
+++ b/usr.bin/grep/Makefile     Wed Aug 17 15:32:20 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2011/02/16 01:31:33 joerg Exp $
+#      $NetBSD: Makefile,v 1.5 2011/08/17 15:32:20 christos Exp $
 #      $FreeBSD: head/usr.bin/grep/Makefile 210389 2010-07-22 19:11:57Z gabor $
 #      $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
 
@@ -34,4 +34,7 @@
        uk_UA.UTF-8.msg \
        zh_CN.UTF-8.msg
 
+COPTS.grep.c += -Wno-format-nonliteral
+COPTS.util.c += -Wno-format-nonliteral
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index