Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin Document non-literal formats
details: https://anonhg.NetBSD.org/src/rev/438ce1f1613d
branches: trunk
changeset: 768303:438ce1f1613d
user: christos <christos%NetBSD.org@localhost>
date: Sun Aug 14 10:53:16 2011 +0000
description:
Document non-literal formats
diffstat:
bin/csh/Makefile | 5 ++++-
bin/date/Makefile | 4 +++-
bin/df/Makefile | 3 ++-
bin/ps/Makefile | 3 ++-
bin/sh/Makefile | 4 +++-
5 files changed, 14 insertions(+), 5 deletions(-)
diffs (84 lines):
diff -r 60e5e0ed5ed1 -r 438ce1f1613d bin/csh/Makefile
--- a/bin/csh/Makefile Sun Aug 14 10:49:58 2011 +0000
+++ b/bin/csh/Makefile Sun Aug 14 10:53:16 2011 +0000
@@ -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>
diff -r 60e5e0ed5ed1 -r 438ce1f1613d bin/date/Makefile
--- a/bin/date/Makefile Sun Aug 14 10:49:58 2011 +0000
+++ b/bin/date/Makefile Sun Aug 14 10:53:16 2011 +0000
@@ -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>
diff -r 60e5e0ed5ed1 -r 438ce1f1613d bin/df/Makefile
--- a/bin/df/Makefile Sun Aug 14 10:49:58 2011 +0000
+++ b/bin/df/Makefile Sun Aug 14 10:53:16 2011 +0000
@@ -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>
diff -r 60e5e0ed5ed1 -r 438ce1f1613d bin/ps/Makefile
--- a/bin/ps/Makefile Sun Aug 14 10:49:58 2011 +0000
+++ b/bin/ps/Makefile Sun Aug 14 10:53:16 2011 +0000
@@ -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>
diff -r 60e5e0ed5ed1 -r 438ce1f1613d bin/sh/Makefile
--- a/bin/sh/Makefile Sun Aug 14 10:49:58 2011 +0000
+++ b/bin/sh/Makefile Sun Aug 14 10:53:16 2011 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index