[Bug 259053] www/tclhttpd: not working with tcl 8.6
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259053] category/port tclhttpd not working with tcl 8.6"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Oct 2021 23:04:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259053
--- Comment #2 from Peter Dean <p.dean@internode.on.net> ---
The fix for 8.6.x is trivial (note that this below does not 'check' for
8.6.x first):
--- tclhttpd3.5.1/lib/config.tcl.orig 2000-08-02 03:06:52.000000000 -0400
+++ tclhttpd3.5.1/lib/config.tcl 2016-06-05 14:51:18.000000000 -0400
@@ -52,6 +52,9 @@
set i [interp create -safe]
interp expose $i file
+ foreach subcommand {isdirectory exists dirname} {
+ interp alias $i ::tcl::file::$subcommand {} file $subcommand
+ }
# Create the slave's Config array, then source the config script
--
You are receiving this mail because:
You are the assignee for the bug.