[eggheads-patches] PATCH for 1.6: Fix lastbind variable

thommey thommey at laxin.de
Sun May 29 06:22:36 CST 2005


while testing around with newest eggdrop cvs (1.6.18), "bUrN" detected, that
the global tcl-variable 'lastbind' is not set correctly anymore. That occurs
as of the newest cvs. I wrote a patch to correct that. In fact the new
tclhash.c code doesnt set lastbind on stackable binds at all; and on
unstackable binds, it sets it after calling the tcl bind. The patch adds
lastbind-set to stackable binds, and sets lastbind before calling
unstackable binds.

Patch is attached.

Thomas "thommey" Sader
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lastbind-fix.patch
Type: application/octet-stream
Size: 846 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/patches/attachments/20050529/be1aec41/attachment.obj>

More information about the Patches mailing list