This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Rename "struct environ" to "struct gdb_environ"
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 8 Mar 2005 17:09:30 -0500
- Subject: Re: PATCH: Rename "struct environ" to "struct gdb_environ"
- References: <200503082201.j28M1cBE018158@sethra.codesourcery.com>
On Tue, Mar 08, 2005 at 02:01:38PM -0800, Mark Mitchell wrote:
>
> Some versions of the MinGW <stdlib.h> defines an "environ" macro.
> That conflicts with "struct environ" in GDB. This patch replaces
> "struct environ" with "struct gdb_environ" to avoid the problem.
>
> OK to apply?
Yes, this is OK. environ.[ch] and inferior.h also need copyright year
updates - and please add 2004 for inferior.h while you're there.
--
Daniel Jacobowitz
CodeSourcery, LLC