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

Bug#489906: glibc: tst-regex fails on hppa




__libc_setlocale_lock is defined differently on different places,
it have been changed into rwlock in intl and locale subdirs,
but it remains plain lock in

time/alt_digit.c
time/era.c
wcsmbs/wcsmbsload.c

Also the order of unlocking is not reverse order of locking order
w.r.t __libc_setlocale_lock and nl_state.

So it might help to move __libc_rwlock_rdlock(__libc_setlocale_lock)
after __libc_rwlock_rdlock(_nl_state_lock) in intl/dcigettext.c
and transform remaining __libc_setlocale_lock into rwlock.

But none of these bugs should be hppa specific.

Petr




Reply to: