Tcl Source Code

Check-in [68a1f5598f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix mistake in [7eed2baf73]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: 68a1f5598fe5b281d8d9bd3609c6fa72a686c059123a9b238f270a625edaab95
User & Date: pooryorick 2020-08-10 19:33:18
References
2020-08-10
19:56 Ticket [29e8848eb9] calling an imported alias in a deletion trace on the alias causes Tcl to cycle on routine resolution status still Open with 3 other changes artifact: de195c70cc user: pooryorick
Context
2020-08-11
05:39
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int check-in: 013b828787 user: jan.nijtmans tags: core-8-6-branch
2020-08-10
19:36
merge 8.6 check-in: ce1fd769dc user: pooryorick tags: core-8-branch
19:33
Fix mistake in [7eed2baf73] check-in: 68a1f5598f user: pooryorick tags: core-8-6-branch
18:05
Fix for [29e8848eb976], imported alias in a deletion trace. check-in: 7eed2baf73 user: pooryorick tags: core-8-6-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclBasic.c.

3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
     * from a CmdName Tcl object in some ByteCode code sequence. In that case,
     * delay the cleanup until all references are either discarded (when a
     * ByteCode is freed) or replaced by a new reference (when a cached
     * CmdName Command reference is found to be invalid and
     * TclNRExecuteByteCode looks up the command in the command hashtable).
     */

    cmdPtr->flags |= CMD_IS_DELETED;
    TclCleanupCommandMacro(cmdPtr);
    return 0;
}

/*
 *----------------------------------------------------------------------
 *







|







3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
     * from a CmdName Tcl object in some ByteCode code sequence. In that case,
     * delay the cleanup until all references are either discarded (when a
     * ByteCode is freed) or replaced by a new reference (when a cached
     * CmdName Command reference is found to be invalid and
     * TclNRExecuteByteCode looks up the command in the command hashtable).
     */

    cmdPtr->flags |= CMD_DEAD;
    TclCleanupCommandMacro(cmdPtr);
    return 0;
}

/*
 *----------------------------------------------------------------------
 *