2.2.2. This gets rid of the following message:
valgrind's libpthread.so: libc_internal_tsd_get: dubious key 2
MERGE TO ERASER
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@899
/* Relies on assumption that initial private data is NULL. This
should be fixed somehow. */
-/* The allowable keys (indices) (all 2 of them).
+/* The allowable keys (indices) (all 3 of them).
From sysdeps/pthread/bits/libc-tsd.h
*/
-#define N_LIBC_TSD_EXTRA_KEYS 1
+#define N_LIBC_TSD_EXTRA_KEYS 0
enum __libc_tsd_key_t { _LIBC_TSD_KEY_MALLOC = 0,
_LIBC_TSD_KEY_DL_ERROR,
+ _LIBC_TSD_KEY_RPC_VARS,
_LIBC_TSD_KEY_N };
/* Auto-initialising subsystem. libc_specifics_inited is set