/usr/share/tcltk/tcllib1.16/nns/common.tcl is in tcllib 1.16-dfsg-2.
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 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # -*- tcl -*-
# ### ### ### ######### ######### #########
## Name service - Common/shared information.
# ### ### ### ######### ######### #########
## Requirements
namespace eval ::nameserv::common {}
# ### ### ### ######### ######### #########
## API
proc ::nameserv::common::port {} {
variable port
return $port
}
namespace eval ::nameserv::common {
# Derivation of the standard port number for this service.
# nameserv::server
# -> nameservserver / remove ':'
# -> 62637378737837 / phonecode
# -> 38573 / mod 65536
variable port 38573
# The modulo operation is required because IP port numbers are
# restricted to unsigned short (16 bit), i.e. 1 ... 65535.
}
# ### ### ### ######### ######### #########
## Ready
package provide nameserv::common 0.1
##
# ### ### ### ######### ######### #########
|