This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: r114302: New warning introduced
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Shinwell <shinwell at codesourcery dot com>
- Cc: Jan-Benedict Glaw <jbglaw at lug-owl dot de>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 2 Jun 2006 09:57:15 -0400
- Subject: Re: r114302: New warning introduced
- References: <20060601103054.8202.qmail@sourceware.org> <20060601171538.GP13513@lug-owl.de> <447FFDAB.1030909@codesourcery.com>
On Fri, Jun 02, 2006 at 09:58:19AM +0100, Mark Shinwell wrote:
> My apologies. The following patch should fix this, but assumes that
> the pointers in environ will never be mutated. Is this OK, or not?
Aren't we going quickly from here to exec()? In that case it is
probably fine.
> 2006-06-02 Mark Shinwell <shinwell@codesourcery.com>
>
> * pex-unix.c: Insert cast when assigning to environ.
Missed the function name.
--
Daniel Jacobowitz
CodeSourcery