Try and give at least some minimal binding for all functions exported
by the real libpthread.so.  In the process fix a bunch of stuff, including
adding thread-specific h_errno and resolver state storage.  This fixes
licq crashing at startup.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@149 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_scheduler.c b/vg_scheduler.c
index b3f9de2..10ea058 100644
--- a/vg_scheduler.c
+++ b/vg_scheduler.c
@@ -2283,10 +2283,12 @@
    /* Optional.  We're not required to do this, although it shouldn't
       make any difference to programs which use the key/specifics
       functions correctly.  */
+#  if 1
    for (tid = 1; tid < VG_N_THREADS; tid++) {
       if (vg_threads[tid].status != VgTs_Empty)
          vg_threads[tid].specifics[key] = NULL;
    }
+#  endif
 }