aboutsummaryrefslogtreecommitdiff
path: root/devel/glib20/files/extra-patch-gthread_gthread-posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib20/files/extra-patch-gthread_gthread-posix.c')
-rw-r--r--devel/glib20/files/extra-patch-gthread_gthread-posix.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/glib20/files/extra-patch-gthread_gthread-posix.c b/devel/glib20/files/extra-patch-gthread_gthread-posix.c
index b74c39d48df2..bde2862f605e 100644
--- a/devel/glib20/files/extra-patch-gthread_gthread-posix.c
+++ b/devel/glib20/files/extra-patch-gthread_gthread-posix.c
@@ -1,6 +1,6 @@
---- gthread/gthread-posix.c.orig Thu Jun 9 17:27:13 2005
-+++ gthread/gthread-posix.c Fri Jun 10 22:38:37 2005
-@@ -115,7 +115,11 @@
+--- gthread/gthread-posix.c.orig Thu Jun 9 11:25:01 2005
++++ gthread/gthread-posix.c Fri Jun 10 20:23:17 2005
+@@ -115,7 +115,11 @@ static gint priority_normal_value;
# define PRIORITY_NORMAL_VALUE priority_normal_value
#endif /* POSIX_MIN_PRIORITY && POSIX_MAX_PRIORITY */
@@ -12,18 +12,18 @@
#define G_MUTEX_SIZE (sizeof (pthread_mutex_t))
-@@ -309,8 +313,16 @@
+@@ -309,8 +313,16 @@ g_thread_create_posix_impl (GThreadFunc
stack_size = MAX (g_thread_min_stack_size, stack_size);
/* No error check here, because some systems can't do it and
* we simply don't want threads to fail because of that. */
- pthread_attr_setstacksize (&attr, stack_size);
}
-+ else
++ else
+ {
+ if (sizeof(void *) == 8)
-+ g_thread_default_stack_size = G_THREAD_STACK_SIZE64;
++ g_thread_default_stack_size = G_THREAD_STACK_SIZE64;
+ else
-+ g_thread_default_stack_size = G_THREAD_STACK_SIZE32;
++ g_thread_default_stack_size = G_THREAD_STACK_SIZE32;
+ stack_size = MAX (g_thread_min_stack_size, g_thread_default_stack_size);
+ }
+ pthread_attr_setstacksize (&attr, stack_size);