Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 22:47:29 -0400 (EDT)
From:      Mike Barcroft <mike@q9media.com>
To:        audit@FreeBSD.org
Cc:        Dima Dorfman <dima@unixfreak.org>
Subject:   src/bin warns patch
Message-ID:  <200106290247.f5T2lTs97893@coffee.q9media.com>

next in thread | raw e-mail | index | archive | help
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 <bsd.prog.mk>
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 <bsd.prog.mk>
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 <bsd.prog.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106290247.f5T2lTs97893>