[ruby-talk:00355] Re: Bugs in the Tk interface

From: matz@... (Yukihiro Matsumoto)
Date: 1999-05-27 16:01:58 UTC
List: ruby-talk #355
Hi,
In message "[ruby-talk:00350] Bugs in the Tk interface"
    on 99/05/27, Reimer Behrends <behrends@cse.msu.edu> writes:

|There are a couple of minor bugs in the Tk interface. The enclosed
|patch should take care of them, unless I've overlooked something,
|but the calls seem to work now.

Thank you for the patch.  It seems Ok.  I'll apply it.

|Also, I think that TkComm::uninstall_cmd() needs to strip the beginning
|"rb_out " from its argument -- otherwise creating a lot of callbacks
|will leak memory. But as I'm not entirely sure about that (I don't
|yet understand the callback interface entirely), I've left it alone
|for the time being.

You're right.  I'll put the line:

    id = $1 if /rb_out (c\d+)/

before removing id from Tk_CMDTBL.  Thank you so much.

                                                matz.

In This Thread

Prev Next