Author: zoltan
Date: 2005-04-11 16:03:10 -0400 (Mon, 11 Apr 2005)
New Revision: 42801

Modified:
   trunk/mono/mono/mini/ChangeLog
   trunk/mono/mono/mini/mini-x86.c
Log:
2005-04-11  Zoltan Varga  <[EMAIL PROTECTED]>

        * mini-x86.c (setup_stack): Unconditionally call pthread_attr_init ().


Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog      2005-04-11 19:52:24 UTC (rev 42800)
+++ trunk/mono/mono/mini/ChangeLog      2005-04-11 20:03:10 UTC (rev 42801)
@@ -1,5 +1,7 @@
 2005-04-11  Zoltan Varga  <[EMAIL PROTECTED]>
 
+       * mini-x86.c (setup_stack): Unconditionally call pthread_attr_init ().
+
        * exceptions-x86.c mini-x86.h mini-x86.c: Applied some freebsd patches 
        from Bill Middleton <[EMAIL PROTECTED]>.
 

Modified: trunk/mono/mono/mini/mini-x86.c
===================================================================
--- trunk/mono/mono/mini/mini-x86.c     2005-04-11 19:52:24 UTC (rev 42800)
+++ trunk/mono/mono/mini/mini-x86.c     2005-04-11 20:03:10 UTC (rev 42801)
@@ -4687,16 +4687,13 @@
                return;
 
        /* Determine stack boundaries */
+       pthread_attr_init( &attr );
 #ifdef HAVE_PTHREAD_GETATTR_NP
        pthread_getattr_np( self, &attr );
 #else
 #ifdef HAVE_PTHREAD_ATTR_GET_NP
-#if defined(__FreeBSD__) 
-       pthread_attr_init( &attr );
-#endif
        pthread_attr_get_np( self, &attr );
 #elif defined(sun)
-       pthread_attr_init( &attr );
        pthread_attr_getstacksize( &attr, &stsize );
 #else
 #error "Not implemented"

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to