Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 224507 Details for
Bug 310535
=dev-db/mysql-5.1.44-r1 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Reinitialize a pthread_once_t variable.
07271_all_charset_init_fix-5.1.44.patch (text/plain), 816 bytes, created by
nietonfir
on 2010-03-21 14:26:26 UTC
(
hide
)
Description:
Reinitialize a pthread_once_t variable.
Filename:
MIME Type:
Creator:
nietonfir
Created:
2010-03-21 14:26:26 UTC
Size:
816 bytes
patch
obsolete
>Workaround the pthread_once_t static initialization. Per the POSIX standard, reinitialization of a pthread_once is a gray area, but it is needed to support subsequent initializations of the client library (upstream bug 45058). > >--- mysys/charset.c 2010-03-21 12:08:59.000000000 +0100 >+++ mysys/charset.c 2010-03-21 12:13:53.000000000 +0100 >@@ -400,6 +400,7 @@ static void *cs_alloc(size_t size) > > > static my_pthread_once_t charsets_initialized= MY_PTHREAD_ONCE_INIT; >+static my_pthread_once_t charsets_template= MY_PTHREAD_ONCE_INIT; > > static void init_available_charsets(void) > { >@@ -429,7 +430,7 @@ static void init_available_charsets(void > > void free_charsets(void) > { >- charsets_initialized= MY_PTHREAD_ONCE_INIT; >+ charsets_initialized= charsets_template; > } > > uint get_collation_number(const char *name)
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 310535
: 224507 |
224509
|
224513