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

Rasmus Andersson rasmus at flajm.com
Sat Jan 24 12:36:06 EST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-cgi-fcgi-cgi-fcgi.c.diff
Type: application/octet-stream
Size: 355 bytes
Desc: not available
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20090124/89778210/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-libfcgi-fcgi_stdio.c.diff
Type: application/octet-stream
Size: 371 bytes
Desc: not available
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20090124/89778210/attachment-0001.obj>


More information about the FastCGI-developers mailing list