Skip to content
Tcl Source Code History Of Ticket 218395ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 218395ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 218395ffffffffffffffffffffffffffffffffff

  1. Ticket change [14a5d8e55f] (rid 124430) by nobody on 2000-10-26 00:57:04:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 5172 Bug
      Version: 8.3
      SubmitDate: '2000-04-19'
      LastModified: '2000-04-20'
      Severity: SER
      Status: Closed
      Submitter: techsupp
      ChangedBy: ericm
      OS: Windows NT
      OSVersion: 4.0
      Machine: Dell Optiplex GX1
      FixedDate: '2000-10-25'
      ClosedDate: '2000-04-20'
      
      
      Name:
      Christophe De Clercq
      
      ReproducibleScript:
      1) create any program that returns a value greather than 127 (7 bits)
      2) on tcl prompt type: 
      set myVar [catch {exec anyProg} myResult]
      puts stdout $errorCode
      
      ObservedBehavior:
      if "anyProg.exe" returns the integer value of "200006"
      the value of "errorCode" becomes => "CHILDSTATUS -1 70"
      
      Possible explanation:
      200006 is binary: 110000110101000110
          70 is binary:            1000110
      
      It would mean that the precision is only 7 bit (unsigned integer?)
      It tried to set the variable tcl_precision but this has no impact.
      
      DesiredBehavior:
      I expect the value of "errorCode" to be => "CHILDSTATUS -1 200006"
      
      We use a lot of C programs that return "long integers" this would mean
      a lot of recoding if only 7 bits are interpreted by TCL.
      
      
      
      According to the MSDN:
      
          void exit ( int status );
          void _exit ( int status );
      
          ...
      
          Although the exit and _exit calls do not return a value, the
          low-order byte of status is made available to the waiting calling
          process, if one exists ...
      
      This indicates that, as on UNIX, the return value from a program is
      limited to the low-order 8 bytes of the value you give to exit.  This is
      not a Tcl limitation.
      
      - eric
       
      -- 04/20/2000 ericm
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "precision of errorCode CHILDSTATUS pid returnCode"
    11. type initialized to: "Bug"
  2. Ticket change [8c9fdd35cd] (rid 127772) by welch on 2000-10-26 08:21:17:

    1. closedate changed to: "2000-10-26T01:21:17"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [78b56d8bfe] (rid 90007) by dgp on 2001-04-20 02:02:07:

    1. closedate changed to: "2001-04-19T19:02:07"
    2. closer changed to: "dgp"
    3. resolution changed to: "Invalid"
    4. subsystem changed to: "None"