Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 35ec4861eb3ebe282f23402b004ed13825612457
Ticket: 218437ffffffffffffffffffffffffffffffffff
format command failed
User & Date: nobody on 2000-10-26 00:57:35
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 6173 Bug
    Version: 8.3
    SubmitDate: '2000-08-25'
    LastModified: '2000-09-05'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: solaris2.5.1 & solaris2.6
    Machine: Sun sparc Ultra-Enterprise server
    FixedDate: '2000-10-25'
    ClosedDate: '2000-09-05'
    
    
    Name:
    Luke Yang
    
    ReproducibleScript:
    Includeing the tcl package as a build-in interpreter in my MT application, 
    for some reason I don't know, the tcl format command return error as :
    
    ObservedBehavior:
    for some reason I don't know, the tcl format command return error as :
    
    %%%> format { %6f } 10
    unknown floating-point error, errno = 2
    
    I don't know why I got errno 2. I checked the source code about the format.
    It actually called the strtod(3c) to do the conversion. There is no applicable to return one errer as errno = 2.
    
    DesiredBehavior:
    Should not get this error
    
    
    
    This looks like it is related to how Tcl is embedded, as the same
    problem is not encountered in a standard build of Tcl on the noted
    platforms. 
    -- 09/05/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "format command failed"
  11. type changed to: "Bug"