This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
[PATCH] Remove deprecated access to tcl internal variables
- From: Roland Schwingel <roland at onevision dot com>
- To: insight at sourceware dot org
- Date: Mon, 19 Mar 2012 12:45:55 +0100
- Subject: [PATCH] Remove deprecated access to tcl internal variables
Hi...
Since tcl 8.6 access to some internal variables has been removed from
the code. It was already deprecated since many years. Attached you find
2 patches replacing the deprecated stuff with the current official way.
This is also backward compatible to insight's tcl 8.4 version checkin in
to sourceware.org.
Changelog:
2012-03-19 Roland Schwingel <roland.schwingel@onevision.com>
* generic/gdbtk.c: (gdbtk_init,tk_command): Replace deprecated
access
to tcl interpreter result string with Tcl_GetStringResult().
* generic/gdbtk-hooks.c (gdbtk_read,gdbtk_readline,gdbtk_load_hash)
(gdbtk_query): Likewise
Any comments? Is this ok?
Roland
Attachment:
tcl_compat_gdbtk.c.patch
Description: Text document
Attachment:
tcl_compat_gdbtk-hooks.c.patch
Description: Text document