bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Test for pthread_rwlock_init() always passes, regardless


From: Sevan Janiyan
Subject: Re: Test for pthread_rwlock_init() always passes, regardless
Date: Thu, 16 Nov 2023 20:41:39 +0000
User-agent: Mozilla Thunderbird

Hi,
Though the issue is fixed in pthread_rwlock_rdlock.m4, there's an edge case where if we only rely on pthread_h.m4, things will fail since test-pthread.c uses 'PTHREAD_RWLOCK_INITIALIZER'.

So, if I install all pthread modules & run make check, all the pthread tests now pass. However, if I only use the pthread-h one, test-pthread will fail, because pthread.h exists but the implementation is incomplete.

Should pthread_rwlock_rdlock.m4 be added as dependency for pthread_h.m4?


Sevan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]