From: Julian Seward Date: Tue, 1 Oct 2002 02:09:39 +0000 (+0000) Subject: This glibc (2.2.90 ?) seems to need another thread-specific key. X-Git-Tag: svn/VALGRIND_1_9_4~276 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f356bc8dbcd44e8b98529623a931ac9ca6fed90;p=thirdparty%2Fvalgrind.git This glibc (2.2.90 ?) seems to need another thread-specific key. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1151 --- diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c index fb0ada5917..75692d8549 100644 --- a/coregrind/arch/x86-linux/vg_libpthread.c +++ b/coregrind/arch/x86-linux/vg_libpthread.c @@ -1398,6 +1398,7 @@ struct __res_state* __res_state ( void ) enum __libc_tsd_key_t { _LIBC_TSD_KEY_MALLOC = 0, _LIBC_TSD_KEY_DL_ERROR, _LIBC_TSD_KEY_RPC_VARS, + _LIBC__SOME_OTHER_KEY_NEEDED_FOR_RH_NULL, _LIBC_TSD_KEY_N }; /* Auto-initialising subsystem. libc_specifics_inited is set diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c index fb0ada5917..75692d8549 100644 --- a/coregrind/vg_libpthread.c +++ b/coregrind/vg_libpthread.c @@ -1398,6 +1398,7 @@ struct __res_state* __res_state ( void ) enum __libc_tsd_key_t { _LIBC_TSD_KEY_MALLOC = 0, _LIBC_TSD_KEY_DL_ERROR, _LIBC_TSD_KEY_RPC_VARS, + _LIBC__SOME_OTHER_KEY_NEEDED_FOR_RH_NULL, _LIBC_TSD_KEY_N }; /* Auto-initialising subsystem. libc_specifics_inited is set