Glib patch (win32)
- From: Hans Breuer <hans breuer org>
- To: gtk-devel-list gnome org
- Subject: Glib patch (win32)
- Date: Sun, 18 Feb 2001 18:58:13 +0100
* glib/glib.def, gobject/gobject.def : added nissing symbols
* */makefile.msc : updated
* glib/gmessages.c : call the "debug interrupt" before exiting the
program, if build with msvc as debug version. Which gives the opportunity
to see the callstack, etc.
* glib/gthread.c : thread->pid is only defined #ifdef
G_THREAD_USE_PID_SURROGATE
Ok to commit ?
Hans
diff --exclude-from=c:\util\tool\diff.ign -u -r from-cvs/glib/glib.def
my-gtk/glib/glib.def
--- from-cvs/glib/glib.def Sat Feb 10 11:27:14 2001
+++ my-gtk/glib/glib.def Sat Feb 17 17:39:06 2001
@@ -555,6 +555,8 @@
g_tree_remove
g_tree_search
g_tree_traverse
+ g_try_malloc
+ g_try_realloc
g_tuples_destroy
g_tuples_index
g_ucs4_to_utf16
diff --exclude-from=c:\util\tool\diff.ign -u -r from-cvs/glib/gmessages.c
my-gtk/glib/gmessages.c
--- from-cvs/glib/gmessages.c Sun Feb 18 12:45:54 2001
+++ my-gtk/glib/gmessages.c Sun Feb 18 16:00:08 2001
@@ -435,6 +435,10 @@
#ifdef G_OS_WIN32
MessageBox (NULL, fatal_msg_buf, NULL, MB_OK);
#endif
+# if defined (_MSC_VER) && defined (_DEBUG)
+ /* let's see the call stack ... */
+ __asm int 3
+# endif
abort ();
#endif /* !G_ENABLE_DEBUG || !SIGTRAP */
}
diff --exclude-from=c:\util\tool\diff.ign -u -r
from-cvs/glib/gobject/gobject.def my-gtk/glib/gobject/gobject.def
--- from-cvs/glib/gobject/gobject.def Sat Feb 10 11:27:16 2001
+++ my-gtk/glib/gobject/gobject.def Sat Feb 17 19:48:28 2001
@@ -25,6 +25,7 @@
g_closure_remove_inotify
g_closure_set_marshal
g_closure_set_meta_marshal
+ g_closure_sink
g_closure_unref
g_enum_complete_type_info
g_enum_get_value
diff --exclude-from=c:\util\tool\diff.ign -u -r from-cvs/glib/gthread.c
my-gtk/glib/gthread.c
--- from-cvs/glib/gthread.c Sun Feb 18 12:45:56 2001
+++ my-gtk/glib/gthread.c Sun Feb 18 13:00:50 2001
@@ -522,8 +522,10 @@
G_LOCK (g_thread);
G_UNLOCK (g_thread);
+#ifdef G_THREAD_USE_PID_SURROGATE
if (g_thread_use_default_impl)
SET_PRIO (thread->pid, thread->thread.priority);
+#endif /* G_THREAD_USE_PID_SURROGATE */
thread->func (thread->arg);
}
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]