This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]