From owner-freebsd-audit Sat Jun 23 19:50:58 2001 Delivered-To: freebsd-audit@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id B6F3C37B406 for ; Sat, 23 Jun 2001 19:50:55 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id EAA80548; Sun, 24 Jun 2001 04:50:52 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Mike Barcroft Cc: audit@FreeBSD.ORG Subject: Re: src/usr.bin warns patch References: <200106231831.f5NIVUk89438@coffee.q9media.com> From: Dag-Erling Smorgrav Date: 24 Jun 2001 04:50:52 +0200 In-Reply-To: <200106231831.f5NIVUk89438@coffee.q9media.com> Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Barcroft writes: > I would appreciate it if someone would commit the patch at the end of > this message. Not so fast. Please patch your /usr/share/mk/bsd.sys.mk to add -fno-builtin to CFLAGS when WARNS is greater than zero; some of the programs your patch marks as WARNS-safe (basename(1), for one) will then break due to calling exit(1) without including . Same goes for your usr.sbin warns patch. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message