Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 80961 Details for
Bug 104836
[glibc/tests] test tst-key1.out fail in glibc-2.3.5-r1 with nptl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for glibc's NPTL key tests considering gentoo's sandbox
glibc-2.3.6-r3-test-nptl-keys.patch (text/plain), 826 bytes, created by
Christof Pohl
on 2006-02-28 12:33:02 UTC
(
hide
)
Description:
Patch for glibc's NPTL key tests considering gentoo's sandbox
Filename:
MIME Type:
Creator:
Christof Pohl
Created:
2006-02-28 12:33:02 UTC
Size:
826 bytes
patch
obsolete
>diff -rNu glibc-2.3.6-ORIG/nptl/tst-key1.c glibc-2.3.6/nptl/tst-key1.c >--- glibc-2.3.6-ORIG/nptl/tst-key1.c 2002-11-26 23:50:03.000000000 +0100 >+++ glibc-2.3.6/nptl/tst-key1.c 2006-02-28 18:10:19.000000000 +0100 >@@ -33,6 +33,7 @@ > #else > max = _POSIX_THREAD_KEYS_MAX; > #endif >+ max-=1; > pthread_key_t *keys = alloca (max * sizeof (pthread_key_t)); > > int i; >diff -rNu glibc-2.3.6-ORIG/nptl/tst-key4.c glibc-2.3.6/nptl/tst-key4.c >--- glibc-2.3.6-ORIG/nptl/tst-key4.c 2004-03-07 11:32:05.000000000 +0100 >+++ glibc-2.3.6/nptl/tst-key4.c 2006-02-28 18:35:37.000000000 +0100 >@@ -25,9 +25,9 @@ > > > #ifdef PTHREAD_KEYS_MAX >-const int max = PTHREAD_KEYS_MAX; >+const int max = PTHREAD_KEYS_MAX-1; > #else >-const int max = _POSIX_THREAD_KEYS_MAX; >+const int max = _POSIX_THREAD_KEYS_MAX-1; > #endif > static pthread_key_t *keys; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 104836
: 80961