[FASTCGI] Patch for "Symbol not found: _environ" on Mac OS X

Rasmus Andersson rasmus at macports.org
Fri Jan 30 09:31:07 EST 2009


We are going to put this patch into MacPorts. However it would be even
better to get these fixes into upstream.

Please let me know what you think.

Thank you.

On Sat, Jan 24, 2009 at 18:36, Rasmus Andersson <rasmus at flajm.com> wrote:
> Hello all,
>
> First off: I'm new on this list but have been developing with libfcgi
> for about four years now.
>
> Recently a bug was discovered when Python 2.5.4 was updated in
> MacPorts – libfcgi relies on extern char **environ on Mac OS X, which
> does not exist. I know, it's really sick Apple does not export it
> POSIX-style. However, the ugly bug fully correct fix is to #define
> environ (*_NSGetEnviron()).
>
> --
> Rasmus Andersson
>



-- 
Rasmus Andersson


More information about the FastCGI-developers mailing list