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 510739 - use of non-existant setenv on windows (with patch)
use of non-existant setenv on windows (with patch)
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: Client library
3.1.x
Other Windows
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-20 05:45 UTC by Nathan
Modified: 2008-03-01 17:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to replace setenv calls with glib g_setenv calls (493 bytes, patch)
2008-01-20 05:47 UTC, Nathan
none Details | Review

Description Nathan 2008-01-20 05:45:47 UTC
I'm trying to get libgda working with Gnucash on Windows and ran into a problem compiling libgda.

libgda/tools/gda-sql.c uses setenv which is not available in windows. The attached patch changes these setenv to use the glib equivalent: g_setenv.

It now compiles with this patch.
Comment 1 Nathan 2008-01-20 05:47:17 UTC
Created attachment 103238 [details] [review]
patch to replace setenv calls with glib g_setenv calls

attach patch
Comment 2 malerba 2008-01-30 09:08:14 UTC
I'll apply that patch ASAP, Thanks!
Comment 3 Murray Cumming 2008-03-01 17:47:59 UTC
Committed to svn trunk. Thanks.

Please patch the ChangeLog in future.