| Description: |
OriginalBugID: 2269 Bug
Version: 8.1.1
SubmitDate: '1999-06-21'
LastModified: '1999-06-30'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: redman
OS: Windows 95
Machine: X86
FixedDate: '1999-06-30'
FixedInVersion: 8.2b1
Name:
Don Porter
Comments:
Thanks to Paul Duffin for his advice and assistance.
ReproducibleScript:
See previous bug report archived at
<URL: http://www.deja.com/=dnc/getdoc.xp?AN=489983570>
Patch:
Index: tkWinWm.c
===================================================================
RCS file: /cvsroot/tk/win/tkWinWm.c,v
retrieving revision 1.8
diff -c -r1.8 tkWinWm.c
*** tkWinWm.c1999/04/16 01:51:541.8
--- tkWinWm.c1999/06/17 19:39:54
***************
*** 518,524 ****
TkWinWmCleanup(hInstance)
HINSTANCE hInstance;
{
! ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
if (!tsdPtr->initialized) {
--- 518,537 ----
TkWinWmCleanup(hInstance)
HINSTANCE hInstance;
{
! ThreadSpecificData *tsdPtr;
!
! /*
! * If we're using stubs to access the Tcl library, and they
! * haven't been initialized, we can't call Tcl_GetThreadData.
! */
!
! #ifdef USE_TCL_STUBS
! if (tclStubsPtr == NULL) {
! return;
! }
! #endif
!
! tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
if (!tsdPtr->initialized) {
PatchFiles:
tkWinWm.c
Applied the patch.
-- 06/30/1999 redman
|