Fix PR63758 by using the _NSGetEnviron() API on Darwin
authorIain Sandoe <iain@codesourcery.com>
Sat, 28 Nov 2015 16:39:30 +0000 (16:39 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 28 Nov 2015 16:39:30 +0000 (16:39 +0000)
commit35a88fa501ff2e2fe133e7c0f38768ae703a43b7
treec59577728b2277dcdbbb852c1996ef9d432ae3e1
parente9a3881624886dc523a500a86bfdac6dc58fd0db
Fix PR63758 by using the _NSGetEnviron() API on Darwin

include/

Roland McGrath  <roland@gnu.org>

PR other/63758
* environ.h: New file.

libiberty/

Roland McGrath  <roland@gnu.org>
Iain Sandoe  <iain@codesourcery.com>

PR other/63758
* pex-unix.c: Obtain the environment interface from settings in environ.h
rather than in-line code.  Update copyright date.
* setenv.c: Likewise.
* xmalloc.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228942 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/environ.h [new file with mode: 0644]
libiberty/ChangeLog
libiberty/pex-unix.c
libiberty/setenv.c
libiberty/xmalloc.c