From 428704a0b6efde1e2dcd9fd04a01ac5cad6c6c17 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 13 Mar 2002 05:01:58 +0000 Subject: Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and use 2002-03-12 Alexander Larsson * glib/gconvert.c: Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and use instead. Add g_convert_init() that calls have_broken_filenames() * gthread/gthread-impl.c: Have g_thread_init call g_convert_init. --- gthread/gthread-impl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gthread') diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c index ef79584b3..ed44d2a66 100644 --- a/gthread/gthread-impl.c +++ b/gthread/gthread-impl.c @@ -65,6 +65,7 @@ static gint g_thread_priority_map [G_THREAD_PRIORITY_URGENT + 1]; void g_mutex_init (void); void g_mem_init (void); void g_messages_init (void); +void g_convert_init (void); #define G_MUTEX_DEBUG_INFO(mutex) (*((gpointer*)(((char*)mutex)+G_MUTEX_SIZE))) @@ -379,6 +380,7 @@ g_thread_init (GThreadFunctions* init) g_mutex_init (); g_mem_init (); g_messages_init (); + g_convert_init (); /* now we can set g_threads_got_initialized and thus enable * all the thread functions -- cgit v1.2.3