Module Name:    src
Committed By:   christos
Date:           Sun Aug 14 10:53:17 UTC 2011

Modified Files:
        src/bin/csh: Makefile
        src/bin/date: Makefile
        src/bin/df: Makefile
        src/bin/ps: Makefile
        src/bin/sh: Makefile

Log Message:
Document non-literal formats


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/bin/csh/Makefile
cvs rdiff -u -r1.14 -r1.15 src/bin/date/Makefile
cvs rdiff -u -r1.17 -r1.18 src/bin/df/Makefile
cvs rdiff -u -r1.28 -r1.29 src/bin/ps/Makefile
cvs rdiff -u -r1.96 -r1.97 src/bin/sh/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/csh/Makefile
diff -u src/bin/csh/Makefile:1.30 src/bin/csh/Makefile:1.31
--- src/bin/csh/Makefile:1.30	Thu Jun 30 23:58:10 2011
+++ src/bin/csh/Makefile	Sun Aug 14 06:53:16 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.30 2011/07/01 03:58:10 mrg Exp $
+#	$NetBSD: Makefile,v 1.31 2011/08/14 10:53:16 christos Exp $
 #	@(#)Makefile	8.1 (Berkeley) 5/31/93
 #
 # C Shell with process control; VM/UNIX VAX Makefile
@@ -52,6 +52,9 @@
 .if defined(HAVE_GCC) && ${HAVE_GCC} == 4 && ${MACHINE_ARCH} == "vax"
 COPTS.parse.c+=	-O0
 .endif
+COPTS.printf.c = -Wno-format-nonliteral
+COPTS.proc.c = -Wno-format-nonliteral
+COPTS.strpct.c = -Wno-format-nonliteral
 
 .include <bsd.prog.mk>
 .include <bsd.subdir.mk>

Index: src/bin/date/Makefile
diff -u src/bin/date/Makefile:1.14 src/bin/date/Makefile:1.15
--- src/bin/date/Makefile:1.14	Fri Nov 17 17:11:28 2006
+++ src/bin/date/Makefile	Sun Aug 14 06:53:16 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2006/11/17 22:11:28 christos Exp $
+#	$NetBSD: Makefile,v 1.15 2011/08/14 10:53:16 christos Exp $
 #	@(#)Makefile	8.1 (Berkeley) 5/31/93
 
 PROG=	date
@@ -7,4 +7,6 @@
 LDADD+=	-lutil
 CPPFLAGS+=-I${.CURDIR}
 
+COPTS.date.c = -Wno-format-nonliteral
+
 .include <bsd.prog.mk>

Index: src/bin/df/Makefile
diff -u src/bin/df/Makefile:1.17 src/bin/df/Makefile:1.18
--- src/bin/df/Makefile:1.17	Sat Feb 14 03:31:13 2009
+++ src/bin/df/Makefile	Sun Aug 14 06:53:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2009/02/14 08:31:13 lukem Exp $
+#	$NetBSD: Makefile,v 1.18 2011/08/14 10:53:17 christos Exp $
 #	@(#)Makefile	8.3 (Berkeley) 5/8/95
 
 .include <bsd.own.mk>
@@ -6,5 +6,6 @@
 PROG=	df
 .PATH:  ${NETBSDSRCDIR}/bin/csh
 SRCS=	df.c strpct.c
+COPTS.strpct.c = -Wno-format-nonliteral
 
 .include <bsd.prog.mk>

Index: src/bin/ps/Makefile
diff -u src/bin/ps/Makefile:1.28 src/bin/ps/Makefile:1.29
--- src/bin/ps/Makefile:1.28	Wed Jun 19 04:11:55 2002
+++ src/bin/ps/Makefile	Sun Aug 14 06:53:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.28 2002/06/19 08:11:55 jdolecek Exp $
+#	$NetBSD: Makefile,v 1.29 2011/08/14 10:53:17 christos Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/2/93
 
 PROG=		ps
@@ -7,5 +7,6 @@
 LDADD=		-lm -lkvm
 
 CWARNFLAGS+=	-Wno-format-y2k
+COPTS.print.c = -Wno-format-nonliteral
 
 .include <bsd.prog.mk>

Index: src/bin/sh/Makefile
diff -u src/bin/sh/Makefile:1.96 src/bin/sh/Makefile:1.97
--- src/bin/sh/Makefile:1.96	Tue Jul 12 12:40:41 2011
+++ src/bin/sh/Makefile	Sun Aug 14 06:53:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.96 2011/07/12 16:40:41 joerg Exp $
+#	$NetBSD: Makefile,v 1.97 2011/08/14 10:53:17 christos Exp $
 #	@(#)Makefile	8.4 (Berkeley) 5/5/95
 
 .include <bsd.own.mk>
@@ -82,5 +82,7 @@
 SUBDIR+=USD.doc
 .endif
 
+COPTS.printf.c = -Wno-format-nonliteral
+
 .include <bsd.prog.mk>
 .include <bsd.subdir.mk>

Reply via email to