Import Tcl 8.6.11
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#
|
||||
#----------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (c) 2004,2005,2006,2007 by Kevin B. Kenny
|
||||
# Copyright (c) 2004-2007 Kevin B. Kenny
|
||||
# See the file "license.terms" for information on usage and redistribution
|
||||
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
#
|
||||
@@ -3304,7 +3304,7 @@ proc ::tcl::clock::LoadTimeZoneFile { fileName } {
|
||||
return
|
||||
}
|
||||
|
||||
# Since an unsafe interp uses the [clock] command in the master, this code
|
||||
# Since an unsafe interp uses the [clock] command in the parent, this code
|
||||
# is security sensitive. Make sure that the path name cannot escape the
|
||||
# given directory.
|
||||
|
||||
@@ -3344,7 +3344,7 @@ proc ::tcl::clock::LoadTimeZoneFile { fileName } {
|
||||
proc ::tcl::clock::LoadZoneinfoFile { fileName } {
|
||||
variable ZoneinfoPaths
|
||||
|
||||
# Since an unsafe interp uses the [clock] command in the master, this code
|
||||
# Since an unsafe interp uses the [clock] command in the parent, this code
|
||||
# is security sensitive. Make sure that the path name cannot escape the
|
||||
# given directory.
|
||||
|
||||
@@ -3452,7 +3452,7 @@ proc ::tcl::clock::ReadZoneinfoFile {fileName fname} {
|
||||
set times [linsert $times 0 $MINWIDE]
|
||||
set codes {}
|
||||
foreach c $tempCodes {
|
||||
lappend codes [expr { $c & 0xff }]
|
||||
lappend codes [expr { $c & 0xFF }]
|
||||
}
|
||||
set codes [linsert $codes 0 0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user