Skip to content
Tcl Source Code Check-in [f3d065fb9d]
Login

Check-in [f3d065fb9d]

Overview
Comment:* library/init.tcl: Various small changes requested by Jan Nijtmans. - If the variable $tcl_library contains the empty string, this empty string will be put in $auto_path. This is not useful at all, it only slows down later package processing. - If the variable tcl_pkgPath is not set, the "unset __dir" fails. Thich makes init.tcl totally unusable. Better put a "catch" around it. - In the function tcl_findLibraries, the "string match" function only works correctly if $tcl_patchLevel is in one of the forms "?.?a?", "?.?b?" or "?.?.?". Could a "regexp" be used instead, then it allows anything to be appended to the patchLevel string. And it is more efficient. - The tclPkgSetup function assumes that if $type != "load" then the type must be "source". This needn't be true. Some users want to add their own setup types. [RFE: 1138] [Bug: 978]
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f3d065fb9d636ea7906719137e29fbb7a81f73b2
User & Date: stanton on 1999-02-02 22:28:10.000
Other Links: manifest | tags
Context
1999-02-02
22:28
* library/http2.0/http.tcl: Added catch around eof test in CopyDone since the user may have already ... check-in: b241ec04fd user: stanton tags: trunk
22:28
* library/init.tcl: Various small changes requested by Jan Nijtmans. - If the variable $tcl_library ... check-in: f3d065fb9d user: stanton tags: trunk
22:27
* generic/tclPosixStr.c (Tcl_ErrnoId, Tcl_ErrnoMsg): When using egcs, ENOTSUP and EOPNOTSUPP are the... check-in: 53c251c547 user: stanton tags: trunk
Changes