Mailinglist Archive: opensuse-bugs (12871 mails)

< Previous Next >
[Bug 412895] Tkined (package: scotty) doesn't save file
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 7 Jan 2009 03:24:39 -0700 (MST)
  • Message-id: <20090107102439.2BB4224538F@xxxxxxxxxxxxxxxxxxxxxx>

User marko.veelma@xxxxxxx added comment

Marko Veelma <marko.veelma@xxxxxxx> changed:

What |Removed |Added

--- Comment #1 from Marko Veelma <marko.veelma@xxxxxxx> 2009-01-07 03:24:38
MST ---
After trying different workarounds I finally found a problem which comes from
Tcl 8.5 changes already since 2004-11-23 (based their ChangeLog). Code from


* Strictly we should call Tcl_GetStringResult(interp) here to make sure
* that interp->result is correct according to the old contract, but that
* makes the performance of much code (e.g. in Tk) absolutely awful. So we
* leave it out; code that really wants interp->result can just insert the
* calls to Tcl_GetStringResult() itself. [Patch 1041072 discussion]

* Ensure that the interp->result is legal so old Tcl 7.* code still
* works. There's still embarrasingly much of it about...

(void) Tcl_GetStringResult(interp);

It seems that Tcl in old SuSE releases defined
"USE_DIRECT_INTERP_RESULT_ACCESS" and then everything worked like before.

Anyway I don't think it is good idea to enable this workaround and I did update
Tkined package itself with one more patch. After that it does work again with
Tcl 8.5. Only caveat is missing ifdefs and therefore it probably doesn't
compile with old Tcl any more..

Opensuse 11.0 recompiled packages can be found here: , patch itself is here:



Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >