Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8db896c8e773bd25ed8c64c2b18f6d24cc3e1426
Ticket: 3358681fffffffffffffffffffffffffffffffff
Tcl 8.5 first use of clock format puts info in errorInfo
User & Date: mellenbe on 2011-07-08 17:46:44
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
     The first time clock format is called after tclsh is started, it puts  information in errorInfo.  This causes Tcl programs to fail later once  they check errorInfo.
    
     ActiveTcl8.5.10.0.294993-win32-x86_64-threaded
    
     Here's an example,
    
     C:\Users\Administrator>tclsh
     % set errorInfo
     % clock seconds
     1310112414
     % set errorInfo
     % set a [clock format [clock seconds] ]  Fri Jul 08 01:07:19 PDT 2011  % set errorInfo  couldn't open "C:/Tcl/lib/tclIndex": no such file or directory
         while executing
     "open [file join $dir tclIndex]"
     %
    
    It can be worked around but it takes a bit of work to track down the issue.
    
  4. foundin changed to: "obsolete: 8.5.10"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mellenbe"
  10. subsystem changed to: "16. Commands A-H"
  11. title changed to:
    Tcl 8.5 first use of clock format puts info in errorInfo
    
  12. type changed to: "Bug"