[Glibc-bsd-commits] r1991 - trunk/glibc-ports/patches
aurel32 at alioth.debian.org
aurel32 at alioth.debian.org
Wed Aug 1 12:38:55 UTC 2007
Author: aurel32
Date: 2007-08-01 12:38:55 +0000 (Wed, 01 Aug 2007)
New Revision: 1991
Modified:
trunk/glibc-ports/patches/linuxthreads_gscope.patch
Log:
Use an anonymous union with gscope_flag as int instead of a long
Modified: trunk/glibc-ports/patches/linuxthreads_gscope.patch
===================================================================
--- trunk/glibc-ports/patches/linuxthreads_gscope.patch 2007-08-01 11:48:42 UTC (rev 1990)
+++ trunk/glibc-ports/patches/linuxthreads_gscope.patch 2007-08-01 12:38:55 UTC (rev 1991)
@@ -7,7 +7,7 @@
uintptr_t stack_guard;
uintptr_t pointer_guard;
+# ifdef __FreeBSD_kernel__
-+ long gscope_flag;
++ union { int gscope_flag; long int gscope_flag_long; };
+# else
int gscope_flag;
+# endif
@@ -19,7 +19,7 @@
#elif TLS_MULTIPLE_THREADS_IN_TCB
int p_multiple_threads;
+# ifdef __FreeBSD_kernel__
-+ long p_gscope_flag;
++ union { int gscope_flag; long int gscope_flag_long; };
+# else
int p_gscope_flag;
+# endif
@@ -33,7 +33,7 @@
uintptr_t stack_guard;
uintptr_t pointer_guard;
+#ifdef __FreeBSD_kernel__
-+ long gscope_flag;
++ union { int gscope_flag; long int gscope_flag_long; };
+#else
int gscope_flag;
+#endif
@@ -48,7 +48,7 @@
uintptr_t stack_guard;
uintptr_t pointer_guard;
+#ifdef __FreeBSD_kernel__
-+ long gscope_flag;
++ union { int gscope_flag; long int gscope_flag_long; };
+#else
int gscope_flag;
+#endif
More information about the Glibc-bsd-commits
mailing list