Skip to content
Tcl Source Code Artifact [1a1794fa68]
Login

Artifact [1a1794fa68]

Artifact 1a1794fa68091fa4429b7cb5671942dbd804b7ae:

Ticket change [1a1794fa68] - New ticket [217918ffffffffff|217918ffff] <i>binary scan problem with 16 bit integers &gt; 0x8000</i>. by nobody on 2000-10-26 00:45:58.
D 2000-10-26T00:45:58
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3229\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-10-28'\nLastModified:\s'1999-11-08'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s3466\nOS:\sLinux\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-11-08'\n\n\nName:\nBob\sFindlay\n\nReproducibleScript:\n#!/usr/bin/tclsh\n\s\s\s\sset\sbob1\s0x8000\n\s\s\s\sset\sbob2\s[binary\sformat\s"s1"\s$bob1]\n\s\s\s\sbinary\sscan\s$bob2\ss1\sbob3\n\s\s\s\sputs\sstdout\s[format\s"bob1=%X\sbob3=%X"\s$bob1\s$bob3]\n\nObservedBehavior:\nIt\sseems\sonce\sthe\slead\sbit\sin\sa\s16\sbit\sinteger\sis\sset\sthe\sbinary\n\s\s\s\sscan\scommand\sseems\sto\sprepend\sthe\sresult\swith\s0xffff\n\s\s\s\s\n\s\s\s\sThis\sdoes\snot\sseem\slike\sthe\scorrect\sbehavior.\n\nDesiredBehavior:\nI\swould\shave\sexpected\sthat\sbinary\sscan\swould\sreturn\swith\sthe\s16\sbit\n\s\s\s\svalue\s\n\s\s\s\swithout\sthe\sprepended\s0xffff\n\n\n\n
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title binary\sscan\sproblem\swith\s16\sbit\sintegers\s>\s0x8000
J type Bug
K 217918ffffffffffffffffffffffffffffffffff
U nobody
Z 3061db48a8d1ffd54d1c55542368e569