On Fri, Mar 22, 2013 at 03:30:19PM +0000, Emmanuel Dreyfus wrote: > On Fri, Mar 22, 2013 at 11:24:35AM -0400, Thor Lancelot Simon wrote: > > And furthermore, there was no regression. One example was provided of > > an application (actually a PAM module) that now threw an error rather > > than happening to get lucky and silently working rather than failing. > > I was lucky, it worked reliabily on netbsd-5. It failed reliabily on > netbsd-6. I call that a regression. The patch makes it working > reliabily again, even for the unlucky.
Repeating it doesn't make it any more true. > > > Joerg found the root cause of this problem -- a bug in glib -- and > > fixed it. > > The root of the problem is not in glib. The same bug just pop up > again in pcsc-lite a few days ago. Exactly. The root cause is bad library design. We had the discussion a while ago about pcsc-lite and it was unclear whether it can actually *work* without backgroudn threads. That's why no change was applied to it. Joerg