summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--changes.md5
-rw-r--r--unix/Makefile.in12
-rwxr-xr-xunix/configure2
-rw-r--r--unix/configure.ac2
4 files changed, 16 insertions, 5 deletions
diff --git a/changes.md b/changes.md
index 25e5290..c37db15 100644
--- a/changes.md
+++ b/changes.md
@@ -32,8 +32,9 @@ to the userbase.
- [lseq crash on out-of-range index](https://core.tcl-lang.org/tcl/tktview/7d3101)
- [lseq crash on nested indices](https://core.tcl-lang.org/tcl/tktview/452b10)
- [Build broken (trunk branch) tclCompExpr.c tclOOCall.c](https://core.tcl-lang.org/tcl/tktview/1dcda0)
- - [Memory allocation runaway on truncated iso2022 encoding](https://core.tcl-lang.org/tcl/tktview/7346adc50)
- - [Missing include dir for extensions in non-default locations](https://core.tcl-lang.org/tcl/tktview/3335120320)
+ - [Memory allocation runaway on truncated iso2022 encoding](https://core.tcl-lang.org/tcl/tktview/7346ad)
+ - [Missing include dir for extensions in non-default locations](https://core.tcl-lang.org/tcl/tktview/333512)
+ - [tcl::tm::path doesn't handle tilde expand](https://core.tcl-lang.org/tcl/tktview/b87673)
# Incompatibilities
- [The ActiveCodePage element has been removed from the Windows executable manifest for tclsh](https://core.tcl-lang.org/tips/doc/trunk/tip/716.md)
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 9569b3b..2c0ddaa 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1097,7 +1097,17 @@ install-libraries: libraries
done
@if [ -n "$(TCL_MODULE_PATH)" -a -f $(TOP_DIR)/library/tm.tcl ] ; then \
echo "Customizing tcl module path"; \
- echo "if {![interp issafe]} { ::tcl::tm::roots [list $(TCL_MODULE_PATH)] }" >> \
+ echo "if {![interp issafe]} {" >> \
+ "$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
+ echo " ::tcl::tm::roots [lmap p [split {$(TCL_MODULE_PATH)} :] {" >> \
+ "$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
+ echo " if {[catch {file tildeexpand [set p]} p]} continue" >> \
+ "$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
+ echo " set p" >> \
+ "$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
+ echo " }]" >> \
+ "$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
+ echo "}" >> \
"$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
fi
diff --git a/unix/configure b/unix/configure
index 924d3a3..3c23360 100755
--- a/unix/configure
+++ b/unix/configure
@@ -11303,7 +11303,7 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
test -z "$TCL_PACKAGE_PATH" && \
TCL_PACKAGE_PATH="~/Library/Tcl:/Library/Tcl:~/Library/Frameworks:/Library/Frameworks"
test -z "$TCL_MODULE_PATH" && \
- TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl"
+ TCL_MODULE_PATH="~/Library/Tcl:/Library/Tcl"
elif test "$prefix/lib" != "$libdir"; then
test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir}:${prefix}/lib"
else
diff --git a/unix/configure.ac b/unix/configure.ac
index d8adb4a..cd36358 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -869,7 +869,7 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
test -z "$TCL_PACKAGE_PATH" && \
TCL_PACKAGE_PATH="~/Library/Tcl:/Library/Tcl:~/Library/Frameworks:/Library/Frameworks"
test -z "$TCL_MODULE_PATH" && \
- TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl"
+ TCL_MODULE_PATH="~/Library/Tcl:/Library/Tcl"
elif test "$prefix/lib" != "$libdir"; then
test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir}:${prefix}/lib"
else