|
|
|
|
@ -444,6 +444,8 @@ tcl::namespace::eval ::punk::libunknown {
|
|
|
|
|
proc zipfs_tclPkgUnknown {name args} { |
|
|
|
|
#puts "-> zipfs_tclPkgUnknown $name $args EXPERIMENTAL" |
|
|
|
|
|
|
|
|
|
global dir |
|
|
|
|
|
|
|
|
|
variable epoch |
|
|
|
|
set pkg_epoch [dict get $epoch pkg current] |
|
|
|
|
|
|
|
|
|
@ -609,7 +611,7 @@ tcl::namespace::eval ::punk::libunknown {
|
|
|
|
|
incr sourced ;#count as sourced even if source fails; keep before actual source action |
|
|
|
|
#::tcl::Pkg::source $file |
|
|
|
|
#lappend sourced_files $file |
|
|
|
|
tcl_Pkg_source $file |
|
|
|
|
namespace eval :: [list ::punk::libunknown::tcl_Pkg_source $file] |
|
|
|
|
} trap {POSIX EACCES} {} { |
|
|
|
|
# $file was not readable; silently ignore |
|
|
|
|
puts stderr "zipfs_tclPkgUnknown file unreadable '$file' while trying to load $name (1)" |
|
|
|
|
@ -640,7 +642,7 @@ tcl::namespace::eval ::punk::libunknown {
|
|
|
|
|
incr sourced |
|
|
|
|
#lappend sourced_files $file |
|
|
|
|
#::tcl::Pkg::source $file |
|
|
|
|
tcl_Pkg_source $file |
|
|
|
|
namespace eval :: [list punk::libunknown::tcl_Pkg_source $file] |
|
|
|
|
} trap {POSIX EACCES} {} { |
|
|
|
|
# $file was not readable; silently ignore |
|
|
|
|
puts stderr "zipfs_tclPkgUnknown file unreadable '$file' while trying to load $name (2)" |
|
|
|
|
|