This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Fix environ.c on darwin
- From: Steven Bosscher <stevenb at suse dot de>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>, "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Thu, 28 Oct 2004 23:30:22 +0200
- Subject: Re: [PATCH] Fix environ.c on darwin
- Organization: SUSE Labs
- References: <255FAD68-2827-11D9-B7C0-000A95D692F4@physics.uc.edu>
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