This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libiberty] Fix PR63758 by using the _NSGetEnviron() API on Darwin.


On Mon, Sep 7, 2015 at 8:23 AM, Iain Sandoe <iain@codesourcery.com> wrote:
>
> 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.


This seems likely to break cross-compilers to Darwin that do not have
the system libraries available.  I guess I don't care about that if
you don't.

This is OK for mainline.  Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]