Overview
| Artifact ID: | 2a825f99ae6ef250f0f183d5c777ea769cacf71a |
|---|---|
| Ticket: | 218049ffffffffffffffffffffffffffffffffff
Code in tclInitScript.h |
| User & Date: | nobody on 2000-10-26 00:52:35 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Code in tclInitScript.h"
- type changed to: "Bug"