Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7f262a4b95ccaf989347f096dde3cf1686f57711
Ticket: 1600214fffffffffffffffffffffffffffffffff
why execute the same script in Solaris and AIX is different?
User & Date: nobody on 2006-11-21 07:46:38
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Below is the sample tcl script that I tested.
    
    set TclVar1 0x80000001;
    set TclVar2 -2147483647;
    set TclFlag 1;
    
    if [ $TclVar1 == $TclVar2 ] {
        set TclFlag 1;
    } else {
        set TclFlag 0;
    }
    
    The problem is:
    
    If I use Tcl8.3.2 and run in Solaris8 and AIX4.3,
    it will return TclFlag with value 1 which means that variable TclVar1 is equal to TclVar2.
    
    But
    
    If I use Tcl8.4.12 and run in the same Solaris8 and AIX4.3, it will return different results, that is variable TclVar1's value is 1 in AIX, but TclVar2's value is 0 in Solaris.
    
    Why? Is it a bug in updating from Tcl8.3.2 to Tcl8.4.12 or anyone can explain this?  Thanks!
    
    
    
  4. foundin changed to: "obsolete: 8.4.12"
  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: "nobody"
  10. subsystem changed to: "None"
  11. title changed to:
    why execute the same script in Solaris and AIX is different?
    
  12. type changed to: "Bug"