Code in tclInitScript.h
Closed / Fixed218049ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:35
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
welch Closed ticket [218049ffff].
[History diff]2000-10-26 08:13:44
dgp Ticket [218049ffff]: 3 changes
[History diff]2001-04-16 23:44:09
Log in (anonymous is fine) to add a comment.