GNOME Bugzilla – Bug 124277
Use g_listenv() instead of environ
Last modified: 2005-11-04 08:45:28 UTC
A check has to be done for crt_externs.h and _NSGetEnviron() to access the **environ on Darwin.
Created attachment 20622 [details] [review] Checks for _NSGetEnviron() and crt_externs.h, and uses them if present
I wonder would it be better to get something to mask this dependancy into glib ?
That would probably be the best thing to do. I'll file a bug on glib, and make this bug depend on it.
Jeremy: have you logged the glib bug ?
any news on this ?
This is now fixed in glib2 midway through the 2.8.x branch
Still not fixed in gnome-desktop, though, re-opening
*** Bug 320549 has been marked as a duplicate of this bug. ***
Created attachment 54308 [details] [review] 2005-11-04 Mark McLoughlin <mark@skynet.ie> Fixes build on Darwin - bug #124277 gnome-desktop-use-g-listenv-instead-of-environ.patch Fixes build on Darwin - bug #124277 gnome-desktop-use-g-listenv-instead-of-environ.patch Patch committed to HEAD and gnome-2-12