Source-Changes-HG archive

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

[src/trunk]: src/bin/csh Uses non-literal format strings in err.c



details:   https://anonhg.NetBSD.org/src/rev/42e207ee8531
branches:  trunk
changeset: 768719:42e207ee8531
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Aug 25 15:44:51 2011 +0000

description:
Uses non-literal format strings in err.c

diffstat:

 bin/csh/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 22b0e3391716 -r 42e207ee8531 bin/csh/Makefile
--- a/bin/csh/Makefile  Thu Aug 25 15:42:33 2011 +0000
+++ b/bin/csh/Makefile  Thu Aug 25 15:44:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.31 2011/08/14 10:53:16 christos Exp $
+#      $NetBSD: Makefile,v 1.32 2011/08/25 15:44:51 joerg Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 #
 # C Shell with process control; VM/UNIX VAX Makefile
@@ -52,6 +52,7 @@
 .if defined(HAVE_GCC) && ${HAVE_GCC} == 4 && ${MACHINE_ARCH} == "vax"
 COPTS.parse.c+=        -O0
 .endif
+COPTS.err.c = -Wno-format-nonliteral
 COPTS.printf.c = -Wno-format-nonliteral
 COPTS.proc.c = -Wno-format-nonliteral
 COPTS.strpct.c = -Wno-format-nonliteral



Home | Main Index | Thread Index | Old Index