global-init.cxx (ptd_cleanup_func): Fix thread cleanup to cope with pthread_getspecific() returning NULL inside thread-specific data destructor (as per SUSv4).
global-init.cxx (ptd_cleanup_func): Fix thread cleanup to cope with pthread_getspecific()
returning NULL inside thread-specific data destructor (as per SUSv4).

ccpaging/log4cplus,csuideal/log4cplus,csuideal/log4cplus,hunter-packages/log4cplus,ccpaging/log4cplus,hunter-packages/log4cplus,hunter-packages/log4cplus,csuideal/log4cplus,csuideal/log4cplus,ccpaging/log4cplus,ccpaging/log4cplus,hunter-packages/log4cplus