Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2a825f99ae6ef250f0f183d5c777ea769cacf71a
Ticket: 218049ffffffffffffffffffffffffffffffffff
Code in tclInitScript.h
User & Date: nobody on 2000-10-26 00:52:35
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1404 Bug
    Version: 8.0.4
    SubmitDate: '1999-03-02'
    LastModified: '1999-11-10'
    Severity: LOW
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: Other
    OSVersion: FreeBSD 2.2.6
    Machine: NA
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-10'
    
    
    Name:
    Bill Fenner
    
    ReproducibleScript:
    generic/tclInitScript.h contains a static variable declaration (tclPreInitScript) and a function declaration (TclSetPreInitScript).
    This works because only one file ever #includes generic/tclInitScript.h, but
    is unclean and can cause very confusing behavior -- for example, if a user program accidentally #includes generic/tclInitScript.h, it will get its own
    version of TclSetPreInitScript, which will override the one in libtcl, and
    so if the program calls TclSetPreInitScript it will not have the desired result.
    
    
    
    Since this is intended to be fully private code, this is not
    really a bug, but a thing to watch for if you go messing in
    the internals. 
    -- 11/10/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Code in tclInitScript.h"
  11. type changed to: "Bug"