From owner-freebsd-audit Thu Jun 28 19:34: 2 2001 Delivered-To: freebsd-audit@freebsd.org Received: from coffee.q9media.com (coffee.q9media.com [216.94.229.19]) by hub.freebsd.org (Postfix) with ESMTP id 5668137B403 for ; Thu, 28 Jun 2001 19:33:58 -0700 (PDT) (envelope-from mike@coffee.q9media.com) Received: (from mike@localhost) by coffee.q9media.com (8.11.2/8.11.2) id f5T2lTs97893; Thu, 28 Jun 2001 22:47:29 -0400 (EDT) (envelope-from mike) Date: Thu, 28 Jun 2001 22:47:29 -0400 (EDT) Message-Id: <200106290247.f5T2lTs97893@coffee.q9media.com> To: audit@FreeBSD.org From: Mike Barcroft Cc: Dima Dorfman Subject: src/bin warns patch 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 I would appreciate it if someone would review and commit the patch at the end of this message. Also available at: http://testbed.q9media.net/freebsd/bin.20010628.patch This patch needs to be tested on an Alpha before committing. This patch has also been tested with -fno-builtin. Best regards, Mike Barcroft ----------------------------------------------------------------------- bin.20010628.patch o Set WARNS?=2 on Makefiles that should have it. o Tested on i386; alpha might have additional warnings. Index: getfacl/Makefile =================================================================== RCS file: /home/ncvs/src/bin/getfacl/Makefile,v retrieving revision 1.4 diff -u -u -r1.4 Makefile --- getfacl/Makefile 2001/04/04 18:20:02 1.4 +++ getfacl/Makefile 2001/06/29 01:16:41 @@ -1,5 +1,6 @@ # $FreeBSD: src/bin/getfacl/Makefile,v 1.4 2001/04/04 18:20:02 tmm Exp $ PROG= getfacl +WARNS?= 2 .include Index: mkdir/Makefile =================================================================== RCS file: /home/ncvs/src/bin/mkdir/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- mkdir/Makefile 1999/08/27 23:14:34 1.5 +++ mkdir/Makefile 2001/06/29 01:16:41 @@ -2,5 +2,6 @@ # $FreeBSD: src/bin/mkdir/Makefile,v 1.5 1999/08/27 23:14:34 peter Exp $ PROG= mkdir +WARNS?= 2 .include Index: mv/Makefile =================================================================== RCS file: /home/ncvs/src/bin/mv/Makefile,v retrieving revision 1.6 diff -u -u -r1.6 Makefile --- mv/Makefile 2000/01/01 15:40:40 1.6 +++ mv/Makefile 2001/06/29 01:16:41 @@ -2,5 +2,6 @@ # $FreeBSD: src/bin/mv/Makefile,v 1.6 2000/01/01 15:40:40 joe Exp $ PROG= mv +WARNS?= 2 .include Index: rm/Makefile =================================================================== RCS file: /home/ncvs/src/bin/rm/Makefile,v retrieving revision 1.13 diff -u -u -r1.13 Makefile --- rm/Makefile 2000/06/17 14:19:32 1.13 +++ rm/Makefile 2001/06/29 01:16:41 @@ -2,6 +2,7 @@ # $FreeBSD: src/bin/rm/Makefile,v 1.13 2000/06/17 14:19:32 joe Exp $ PROG= rm +WARNS?= 2 SRCS= rm.c LINKS= ${BINDIR}/rm ${BINDIR}/unlink To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message