PATCH: Fix lock/unlock in sysdeps/ia64/dl-fptr.c

David Mosberger davidm@hpl.hp.com
Thu Sep 27 10:45:00 GMT 2001


>>>>> On Wed, 26 Sep 2001 20:23:45 -0700, "H . J . Lu" <hjl@lucon.org> said:

  HJ> Bad things can happen if there is a signal between acquiring the
  HJ> lock and blocking signals. Here is a patch.

Your patch looks correct.  I don't know why the code doesn't match the
description.  But for once, it's the comment that's correct...

  HJ> BTW, I think glibc should have a generic implementation for
  HJ> function descriptors so that ia64, hppa, ... can share the code.

That sounds like a good idea.

	--david



More information about the Libc-alpha mailing list