Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-01-12
03:44 • Closed ticket [745068ffff]: error if tcl_conditionnotify preceeded a call to tcl... artifact: 74c54dd636 user: davygrvy
2003-05-28
18:15 • New ticket [745068ffff]. artifact: 2c8b97abd7 user: melbardis

error if tcl_conditionnotify preceeded a call to tcl_conditi

Closed / Fixed745068ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-05-28 18:15:03
there is a small bug in tcl_conditionNotify for win32 
platform. missing '*' (indirection operator)

is:
------------
void
Tcl_ConditionNotify(condPtr)
    Tcl_Condition *condPtr;
{
    WinCondition *winCondPtr;
    ThreadSpecificData *tsdPtr;
    if (condPtr != NULL) {
winCondPtr = *((WinCondition **)condPtr);

should be
-------------
void
Tcl_ConditionNotify(condPtr)
    Tcl_Condition *condPtr;
{
    WinCondition *winCondPtr;
    ThreadSpecificData *tsdPtr;
    if (*condPtr != NULL) {
winCondPtr = *((WinCondition **)condPtr);

noe: *condPtr is required for proper operation

changed this and app worked.
davygrvyplain2004-01-12 03:44:44
Logged In: YES 
user_id=7549

Fixed.
Log in (anonymous is fine) to add a comment.