Overview
| Artifact ID: | 2a009912bdfd37c027be6be60faf2f89c1d81122 |
|---|---|
| Ticket: | 765156ffffffffffffffffffffffffffffffffff
wrong return value from [binary scan] with 64-bit values |
| User & Date: | nobody on 2003-07-03 07:36:51 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
the system: ::tcl_platform(byteOrder) = littleEndian ::tcl_platform(machine) = intel ::tcl_platform(os) = Windows NT ::tcl_platform(osVersion) = 4.0 ::tcl_platform(platform) = windows ::tcl_platform(wordSize) = 4 ::tcl_patchLevel = 8.4.1 binary scan [binary format w [expr wide (0xA0A0A0A080000000)]] w value 1 (Desktop) 74 % format %lx [expr wide ($value)] ffffffff80000000 correct example: binary scan [binary format w [expr wide (0xA0A0A0A07FFFFFFF)]] w value 1 (Desktop) 70 % format %lx [expr wide ($value)] a0a0a0a07fffffff Description: The binary scan command apparently interpretes the MSW of the 64-bit binary string as 0xFFFFFFFF if the LSW is greater than 0x80000000.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "16. Commands A-H"
- title changed to:
wrong return value from [binary scan] with 64-bit values
- type changed to: "Patch"