patch for gdk-pixbuf/test-loaders.c



Hi, 

first some introduction: my name is Armin, and since last September 
(after a decade of working in mainly observational astrophysics)  
I'm a member of the release engineering team for OpenOffice.org 
and Gnome at SUN Microsystems in Dublin. 

Building gtk on solaris/sparc, we discovered a call to 'setenv' in 
gdk-pixbuf/test-loaders.c. setenv is not supported in Solaris but 
can easily be replaced by 'putenv', see the patch attached. Would 
it be possible to change the source accordingly? 

Thanks

armin

 

-----------------------------------------------------------------
Armin dot Theissen at sun dot com           phone +353 1 819 9080
SUN Microsystems Ireland                       (SUN intern 19080)
East Point Business Park, Boole House   Dublin 3, Rep. of Ireland 
--- test-loaders.c.org	Tue Jun  5 19:20:19 2001
+++ test-loaders.c	Tue Jun  5 19:20:35 2001
@@ -373,7 +373,7 @@
   g_type_init (G_TYPE_DEBUG_NONE);
   g_log_set_fatal_mask (NULL, G_LOG_LEVEL_WARNING | G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL);
   
-  setenv ("GDK_PIXBUF_MODULEDIR", BUILT_MODULES_DIR, TRUE);
+  putenv ("GDK_PIXBUF_MODULEDIR=BUILT_MODULES_DIR");
 
   TEST (valid_gif_test, TRUE); 
   TEST (gif_test_1, FALSE);   


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]