Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2c7576eff33a863eb299da1f6604811ed9c5b167
Ticket: 803489ffffffffffffffffffffffffffffffffff
Tcl_FindNamespace problem in the Stubs table
User & Date: davygrvy on 2003-12-23 04:18:13
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    I'll try experimenting with this in the interim:
    
    /*
     * Fix Tcl bug #803489 the right way.  We need to use the 
    old Stub slot
     * positions, not the new broken ones.
     */
    
    #if defined(USE_TCL_STUBS) && (TCL_MAJOR_VERSION == 8 
    && TCL_MINOR_VERSION >= 5)
    #   undef Tcl_CreateNamespace
    #   define Tcl_CreateNamespace (tclIntStubsPtr-
    >tcl_CreateNamespace)
    #   undef Tcl_DeleteNamespace
    #   define Tcl_DeleteNamespace (tclIntStubsPtr-
    >tcl_DeleteNamespace)
    #   undef Tcl_AppendExportList
    #   define Tcl_AppendExportList (tclIntStubsPtr-
    >tcl_AppendExportList)
    #   undef Tcl_Export
    #   define Tcl_Export (tclIntStubsPtr->tcl_Export)
    #   undef Tcl_Import
    #   define Tcl_Import (tclIntStubsPtr->tcl_Import)
    #   undef Tcl_ForgetImport
    #   define Tcl_ForgetImport (tclIntStubsPtr-
    >tcl_ForgetImport)
    #   undef Tcl_GetCurrentNamespace
    #   define Tcl_GetCurrentNamespace (tclIntStubsPtr-
    >tcl_GetCurrentNamespace)
    #   undef Tcl_GetGlobalNamespace
    #   define Tcl_GetGlobalNamespace (tclIntStubsPtr-
    >tcl_GetGlobalNamespace)
    #   undef Tcl_FindNamespace
    #   define Tcl_FindNamespace (tclIntStubsPtr-
    >tcl_FindNamespace)
    #   undef Tcl_FindCommand
    #   define Tcl_FindCommand (tclIntStubsPtr-
    >tcl_FindCommand)
    #   undef Tcl_GetCommandFromObj
    #   define Tcl_GetCommandFromObj (tclIntStubsPtr-
    >tcl_GetCommandFromObj)
    #   undef Tcl_GetCommandFullName
    #   define Tcl_GetCommandFullName (tclIntStubsPtr-
    >tcl_GetCommandFullName)
    #endif
    
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"