After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 124277 - Use g_listenv() instead of environ
Use g_listenv() instead of environ
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
: 320549 (view as bug list)
Depends on: 313731
Blocks:
 
 
Reported: 2003-10-10 06:50 UTC by Jerry Talkington
Modified: 2005-11-04 08:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Checks for _NSGetEnviron() and crt_externs.h, and uses them if present (1.29 KB, patch)
2003-10-10 06:51 UTC, Jerry Talkington
none 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 (3.91 KB, patch)
2005-11-04 08:44 UTC, Mark McLoughlin
none Details | Review

Description Jerry Talkington 2003-10-10 06:50:54 UTC
A check has to be done for crt_externs.h and _NSGetEnviron() to access the
**environ on Darwin.
Comment 1 Jerry Talkington 2003-10-10 06:51:28 UTC
Created attachment 20622 [details] [review]
Checks for _NSGetEnviron() and crt_externs.h, and uses them if present
Comment 2 Mark McLoughlin 2003-10-13 10:42:58 UTC
I wonder would it be better to get something to mask this dependancy
into glib ?
Comment 3 Jerry Talkington 2003-10-13 22:25:02 UTC
That would probably be the best thing to do.  I'll file a bug on glib,
and make this bug depend on it.
Comment 4 Mark McLoughlin 2004-02-16 09:47:50 UTC
Jeremy: have you logged the glib bug ?
Comment 5 Sebastien Bacher 2005-01-16 22:54:29 UTC
any news on this ?
Comment 6 Daniel Macks 2005-10-05 03:02:21 UTC
This is now fixed in glib2 midway through the 2.8.x branch
Comment 7 Mark McLoughlin 2005-11-04 07:59:14 UTC
Still not fixed in gnome-desktop, though, re-opening
Comment 8 Mark McLoughlin 2005-11-04 08:00:56 UTC
*** Bug 320549 has been marked as a duplicate of this bug. ***
Comment 9 Mark McLoughlin 2005-11-04 08:44:57 UTC
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