[PATCH] Fix environ.c on darwin
Steven Bosscher
stevenb@suse.de
Thu Oct 28 22:12:00 GMT 2004
On Wednesday 27 October 2004 16:47, Andrew Pinski wrote:
> This is basically the patch from the PR for this (PR 17748) with
> an additional comment which says why this is needed.
> The problem is that even though darwin has a man page for environ,
> it does not really have the variable but does have a function,
> _NSGetEnviron, which does the same thing as the variable.
>
> OK? Built and tested on powerpc-darwin.
Hmm I didn't know we are looking looking directly at enrivon.
Can't we use getenv()&friends from POSIX?
Gr.
Steven
More information about the Gcc-patches
mailing list