Compile fix when debugging is enabled

Pthread pid caching was removed recently but an assert is still present which checks pthread->pid, and this breaks the build when debugging is enabled: http://repo.or.cz/uclibc-ng.git/commit/bddde5860ffb8a78587854cc8e3e914bd6926... http://repo.or.cz/uclibc-ng.git/blob/HEAD:/libpthread/nptl/pthread_getattr_n... Line 69 should be removed from pthread_getattr_np.c . Cheers, Bogdan

Hi, Bogdan Harjoc wrote,
Pthread pid caching was removed recently but an assert is still present which checks pthread->pid, and this breaks the build when debugging is enabled:
http://repo.or.cz/uclibc-ng.git/commit/bddde5860ffb8a78587854cc8e3e914bd6926...
http://repo.or.cz/uclibc-ng.git/blob/HEAD:/libpthread/nptl/pthread_getattr_n...
Line 69 should be removed from pthread_getattr_np.c .
Thanks for the report, change committed and pushed. best regards Waldemar
participants (2)
-
Bogdan Harjoc
-
Waldemar Brodkorb