Module Name:    src
Committed By:   christos
Date:           Tue Aug 16 10:36:31 UTC 2011

Modified Files:
        src/lib/libpthread: Makefile
        src/lib/libterminfo: Makefile

Log Message:
document non-literal format strings


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/lib/libpthread/Makefile
cvs rdiff -u -r1.12 -r1.13 src/lib/libterminfo/Makefile

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

Modified files:

Index: src/lib/libpthread/Makefile
diff -u src/lib/libpthread/Makefile:1.71 src/lib/libpthread/Makefile:1.72
--- src/lib/libpthread/Makefile:1.71	Fri Dec 24 07:41:42 2010
+++ src/lib/libpthread/Makefile	Tue Aug 16 06:36:30 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.71 2010/12/24 12:41:42 skrll Exp $
+#	$NetBSD: Makefile,v 1.72 2011/08/16 10:36:30 christos Exp $
 #
 
 WARNS=	4
@@ -87,7 +87,8 @@
 	${_MKTARGET_CREATE}
 	cp pthread_mutex.o pthread_mutex.po
 
-COPTS.pthread.c += -Wno-stack-protector
+COPTS.pthread.c += -Wno-stack-protector -Wno-format-nonliteral
+COPTS.pthread_attr.c += -Wno-format-nonliteral
 
 MAN+=	affinity.3 pthread.3 \
 	pthread_attr.3 \

Index: src/lib/libterminfo/Makefile
diff -u src/lib/libterminfo/Makefile:1.12 src/lib/libterminfo/Makefile:1.13
--- src/lib/libterminfo/Makefile:1.12	Tue Jul  6 01:59:53 2010
+++ src/lib/libterminfo/Makefile	Tue Aug 16 06:36:30 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2010/07/06 05:59:53 mrg Exp $
+#	$NetBSD: Makefile,v 1.13 2011/08/16 10:36:30 christos Exp $
 
 USE_SHLIBDIR=	yes
 
@@ -49,6 +49,7 @@
 		@echo "Generating compiled terminfo descriptions"
 		cd ${.CURDIR} && ${HOST_SH} ./genterms >compiled_terms.c
 
+COPTS.tparm.c = -Wno-format-nonliteral
 man: terminfo.5
 
 gen: hash compiled_terms man

Reply via email to