Changeset [d2cb0aee7ebddf26f2abcb928f5edf30be92bde3] by Alexander Shishkin

September 6th, 2010 @ 01:21 AM

add lrc_enter()/lrc_leave() to guard against recursion

Overridable library calls should not be overridden when called
explicitly or implicitly from lrc internals so as to avoid endless
recursion. Explicit calls should only use lrc_* variants, but for
implicit ones there is not much we can do, so introduce this.

Signed-off-by: Alexander Shishkin virtuoso@slind.org
http://github.com/virtuoso/librandomcrash/commit/d2cb0aee7ebddf26f2...

Committed by Alexander Shishkin

  • M src/main.c
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins