Bug#434294: closed by Pierre Habouzit [EMAIL PROTECTED] (Re: Bug#434294: libc6: buggy unlocking of an unlocked pthread_rwlock_t)

2007-07-23 Thread Tim Blechmann
please learn how to use errno. When a call fails in posix it returns a negative value, usually -1, and sets errno. you must test errno for EPERM. not the return value. quoting man pthread_rwlock_unlock: If successful, the pthread_rwlock_unlock() function shall return zero;

Bug#434294: closed by Pierre Habouzit [EMAIL PROTECTED] (Re: Bug#434294: libc6: buggy unlocking of an unlocked pthread_rwlock_t)

2007-07-23 Thread Pierre Habouzit
On Mon, Jul 23, 2007 at 11:05:09AM +0200, Tim Blechmann wrote: please learn how to use errno. When a call fails in posix it returns a negative value, usually -1, and sets errno. you must test errno for EPERM. not the return value. quoting man pthread_rwlock_unlock: If