| Ticket UUID: | 221144 | ||
| Title: | "encoding" cmd broken for threaded apps. | ||
| Type: | Bug | Created on: | 2000-11-02 20:15:46 |
| Submitter: | vasiljevic | Assigned to: | nobody |
| Subsystem: | 49. Threading | Severity: | |
| Priority: | 5 Medium | Last modified: | 2000-12-01 07:19:30 |
| Status: | Closed | Closed by: | hobbs |
| Resolution: | Fixed | Closed on: | 2000-11-30 01:08:56 |
| Version: | obsolete: 8.3.2 | ||
| Description: | ||||
Begining with 8.3.1 somebody has changed a way the tclLibraryPath variable is handled. This used to be a global static in generic/tclEvent.c. As of 8.3.1 it moved to TSD area, thus being initialized/handled on a per-thread basis. BUT, only the initial thread does get this variable correctly initialized. All subsequent threads i.e. interpreters in them, never get a chance to initialize this variable, thus the encoding subsytem cannot locate any character tables. This means just a built-in tables are available. This is definitely a bug probably introduced by fixing some other bug ! | ||||
| User Comments: | ||||
hobbs added on 2000-11-30 08:08:56:
This is fixed in 8.4a2. You can back-port the change if you need it for 8.3.2 (10 line patch). Fix by Gravereaux. davygrvy added on 2000-12-01 07:19:30:
see http://sourceforge.net/bugs/?func=detailbug&bug_id=119243&group_id=10894 for the patch. | ||||
