diff options
author | stanton <stanton> | 1999-02-02 22:28:10 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-02-02 22:28:10 (GMT) |
commit | e8f0296a2548aa311e6b46b619835532813f4bc0 (patch) | |
tree | 0af36d64529237b6b1765f38d220a57f2bea25db /library/http/http.tcl | |
parent | a26fbfadc3ddf551d4c89b2febaf94080ca4954f (diff) | |
download | tcl-e8f0296a2548aa311e6b46b619835532813f4bc0.zip tcl-e8f0296a2548aa311e6b46b619835532813f4bc0.tar.gz tcl-e8f0296a2548aa311e6b46b619835532813f4bc0.tar.bz2 |
* 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]
Diffstat (limited to 'library/http/http.tcl')
0 files changed, 0 insertions, 0 deletions