clock format [clock seconds] resets errorInfo in TCL 8.5
Could this be bug with TCL 8.5. Did not see this behavior in TCL 8.4. Looks like "clock format [clock seconds]" is resetting the errorInfo variable. Any suggestions on how to fix this?
% puts $::errorInfo
% gggg
invalid command name "gggg"
% puts $::errorInfo
invalid command name "gggg"
while executing
"gggg"
% clock format [clock seconds]
Tue May 22 10:04:39 -0700 2012
% puts $::errorInfo