From owner-cvs-all Tue Sep 4 10:11: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 690AD37B401; Tue, 4 Sep 2001 10:10:57 -0700 (PDT) Received: (from markm@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f84HAv396208; Tue, 4 Sep 2001 10:10:57 -0700 (PDT) (envelope-from markm) Message-Id: <200109041710.f84HAv396208@freefall.freebsd.org> From: Mark Murray Date: Tue, 4 Sep 2001 10:10:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/su Makefile su.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG markm 2001/09/04 10:10:57 PDT Modified files: usr.bin/su Makefile su.c Log: WARNS=2 fixes. The remaining problem of converting highly incompatible pointer types is done by "laundering" the value through a union. This solves the problem (in my own mind) of how a "const char *" _ever_ actually gets a value in a WARNS=2 world. Revision Changes Path 1.34 +2 -4 src/usr.bin/su/Makefile 1.45 +11 -7 src/usr.bin/su/su.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message