/usr/share/tcltk/tcllib1.17/lambda/pkgIndex.tcl is in tcllib 1.17-dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | #checker -scope global exclude warnUndefinedVar
# var in question is 'dir'.
if {![package vsatisfies [package provide Tcl] 8.5]} {
# PRAGMA: returnok
return
}
# Utility wrapper around ::apply for easier writing.
package ifneeded lambda 1 [list source [file join $dir lambda.tcl]]
|