mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and use
2002-03-12 Alexander Larsson <alla@lysator.liu.se> * 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.
This commit is contained in:
committed by
Alexander Larsson
parent
3346808702
commit
428704a0b6
@@ -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
|
||||
|
Reference in New Issue
Block a user