Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 06:23:04 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mark Murray <markm@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.bin/su Makefile su.c
Message-ID:  <20010905060708.T18238-100000@alphplex.bde.org>
In-Reply-To: <200109041710.f84HAv396208@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Sep 2001, Mark Murray wrote:

> 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_
                                                      ^^^^^^^^^^^^^^ "char *"
>   actually gets a value in a WARNS=2 world.
                   ^ "const char *"
>
>   Revision  Changes    Path
>   1.34      +2 -4      src/usr.bin/su/Makefile
>   1.45      +11 -7     src/usr.bin/su/su.c

This breaks the warning for me.  I think iT's OK in one utility but
not in all the ones in /usr/src that call execve() like su does.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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