Source-Changes-HG archive

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

[src/trunk]: src/external/apache2/mDNSResponder/usr.sbin/mdnsd Disable stack ...



details:   https://anonhg.NetBSD.org/src/rev/45b55b9e9802
branches:  trunk
changeset: 747758:45b55b9e9802
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Oct 01 10:01:14 2009 +0000

description:
Disable stack protection warnings for "uds_daemon.c" which allocates
variable sized buffers on the stack.

diffstat:

 external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r fa2b29fb3530 -r 45b55b9e9802 external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
--- a/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile    Thu Oct 01 09:35:08 2009 +0000
+++ b/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile    Thu Oct 01 10:01:14 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2009/10/01 00:22:03 tsarna Exp $
+#      $NetBSD: Makefile,v 1.3 2009/10/01 10:01:14 tron Exp $
 
 PROG=  mdnsd
 
@@ -11,6 +11,8 @@
        DNSCommon.c uds_daemon.c mDNSDebug.c dnssd_ipc.c GenLinkedList.c \
        PlatformCommon.c
 
+COPTS.uds_daemon.c += -Wno-stack-protector
+
 MAN=   mdnsd.8
 
 mdnsd.8: mDNSResponder.8



Home | Main Index | Thread Index | Old Index