From: SourceForge.net <no...@so...> - 2006-11-21 07:46:38
|
Bugs item #1600214, was opened at 2006-11-20 23:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1600214&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: obsolete: 8.4.12 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: why execute the same script in Solaris and AIX is different? Initial Comment: 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! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1600214&group_id=10894 |