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

Artifact [1a617148c9]

Artifact 1a617148c9d7ba306f8750367f971781d7bcd838:

Ticket change [1a617148c9] - New ticket [4b12ccb3363e81b1|4b12ccb336] <i>format/scan %llu doesn&#39;t work</i>. by jan.nijtmans on 2017-04-05 08:14:11.
D 2017-04-05T08:14:11.808
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Example:\s\r\n\r\n<pre>\r\n$\stclsh8.6\r\n%\sscan\s57\s%llu\sa\r\nunsigned\sbignum\sscans\sare\sinvalid\r\n%\sformat\s%llu\s57\r\nunsigned\sbignum\sformat\sis\sinvalid\r\n</pre>\r\n\r\nIn\sticket\s[1527169fffffffffffff|1527169]\sI\sfound\sthe\sfollowing\sexplanation:\r\n"...\sand\sprovided\s%llx,\s%llo,\s%llu\sand\s%lld\sformat\sgroups\sthat\swork\sthe\ssame\son\sall\splatforms."\r\n\r\nYes,\s%llu\sis\sprovided\son\sall\splatforms\sthe\ssame,\sbut\sit\salways\sgives\sthis\serror-message\seven\sthough\sthe\sprovided\snumber\sis\spositive.\sThere\sis\sno\sreason\swhy\sthis\swould\sgive\san\serror,\sthis\serror\sis\snot\sdocumented\sanywhere,\sneither\sare\sthere\sany\stest-cases.\r\n\r\nSuggestion\s(for\s8.6\sand\sup):\sOnly\swhen\sthe\sformatted/scanned\snumber\sis\snegative\sgive\sthis\s(same)\serror\s(for\scompatibility),\sfor\spositive\snumbers\slet\sit\sbehave\sthe\ssame\sas\s%lld.\sFor\snegative\snumbers,\sanother\sbehavior\scould\sbe\simplemented,\sbut\sthat's\sfood\sfor\sanother\sTIP.
J foundin 8.6
J is_private 0
J login jan.nijtmans
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter jan.nijtmans
J subsystem 23.\s[scan]
J title format/scan\s%llu\sdoesn't\swork
J type Bug
K 4b12ccb3363e81b132e8dbe12aeec596102be1a8
U jan.nijtmans
Z 076da22b0274921db8a4a68c3fde07f8