[Starkit] tclkit bug

Jean-Claude Wippler jcw at equi4.com
Mon May 23 09:54:31 CEST 2005


On May 23, 2005, at 7:42, ross wrote:

> Tclkit doesn't correctly set encoding system in non=english locales
> on startup.

Yes, this is being discussed right now as Tcl bug #1201171, right?

[...]
> ------------end patch-----------
> So, this function works only once. Not acceptable to tclkit, so
> system encoding is never set correctly.
> After the patch --- it works.

Did the 8.5 build I made a few days ago work?  Or am I mixing up  
things?  The discussion of the #1201171 bug seems to be Linux-based,  
while this is about Windows.

> On windows (and at all), there is a bug it boot.tcl in tclkit:
>
> vfs::filesystem unmount $noe
>
> Example in russian locale on Win98 (cp1251):
> noe: D:/TCLKIT/русский/TCLKIT-WIN32-NEWEST.EXE
> ::vfs::filesystem info:
> d:/tclkit/русский/tclkit-win32-newest.exe
>
> Case differs, so it says: "no such mount" and crashes (on Win98 only).
> Replaced with:
> vfs::filesystem unmount [::vfs::filesystem info]

That won't work in the general case, you just got lucky ;)

The info call returns a list of all mounted filesystems.  At this  
stage it *looks* like there is only this one, but is that always the  
case?  Also, since it's a list, should it be done using the  
following, perhaps?
     vfs::filesystem unmount [lindex [::vfs::filesystem info] 0]

> tclkit-win32-newest.exe with added encodings by tkunicode.html on  
> the site works ok.

Which URL is this?

> PS. Where should I send bug reports about tclkit?
>    Why nobody answers? ;)

Here is fine, but you should subscribe to this mailing list.  Mail  
from unsubscribed submitters gets thrown into a pool which large  
amounts of junk mail.  It is only by chance that I saw this and  
passed it through.

-jcw



More information about the Starkit mailing list