mirror of git://gcc.gnu.org/git/gcc.git
pex-unix.c (pex_unix_exec_child): Insert cast when assigning to environ.
* pex-unix.c (pex_unix_exec_child): Insert cast when assigning to environ. From-SVN: r114326
This commit is contained in:
parent
3fb385fe58
commit
239559e797
|
@ -1,3 +1,8 @@
|
||||||
|
2006-06-02 Mark Shinwell <shinwell@codesourcery.com>
|
||||||
|
|
||||||
|
* pex-unix.c (pex_unix_exec_child): Insert cast when assigning
|
||||||
|
to environ.
|
||||||
|
|
||||||
2006-06-01 Mark Shinwell <shinwell@codesourcery.com>
|
2006-06-01 Mark Shinwell <shinwell@codesourcery.com>
|
||||||
|
|
||||||
* pex-common.c: New function pex_run_in_environment.
|
* pex-common.c: New function pex_run_in_environment.
|
||||||
|
|
|
@ -415,7 +415,7 @@ pex_unix_exec_child (struct pex_obj *obj, int flags, const char *executable,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (env)
|
if (env)
|
||||||
environ = env;
|
environ = (char**) env;
|
||||||
|
|
||||||
if ((flags & PEX_SEARCH) != 0)
|
if ((flags & PEX_SEARCH) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue