summaryrefslogtreecommitdiff
path: root/libpthread/nptl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-08-19 07:54:03 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-08-19 07:54:03 +0200
commit22e504ceb03bb05e38f395afb039f0e0d6628936 (patch)
treecf7d9cfcb8088c4e7374a6b8fa6a463c6706852b /libpthread/nptl
parent06eb521140f043454697f6a1d5593cb4f8bcfbe7 (diff)
fix compile issue when DOASSERTS=y
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. Reported-By: Bogdan Harjoc <harjoc@gmail.com>
Diffstat (limited to 'libpthread/nptl')
-rw-r--r--libpthread/nptl/pthread_getattr_np.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpthread/nptl/pthread_getattr_np.c b/libpthread/nptl/pthread_getattr_np.c
index 6df6c8e95..e8085396a 100644
--- a/libpthread/nptl/pthread_getattr_np.c
+++ b/libpthread/nptl/pthread_getattr_np.c
@@ -66,7 +66,6 @@ pthread_getattr_np (
{
/* No stack information available. This must be for the initial
thread. Get the info in some magical way. */
- assert (abs (thread->pid) == thread->tid);
/* Stack size limit. */
struct rlimit rl;