Skip to content
Tcl Source Code Artifact [f6e03252d6]
Login

Artifact [f6e03252d6]

Artifact f6e03252d6e52c69f6ded99c21bf52a3ccd1e058:

Ticket change [f6e03252d6] - Ticket [219223ffffffffff|219223ffff] <i>64 bit format command behaves differently to the 32bit forma</i> status still Open with 4 other changes by kennykb on 2002-02-19 06:04:55.
D 2002-02-19T06:04:55
J icomment Logged\sIn:\sYES\s\nuser_id=99768\n\ndgp\ssays\sthat\ssizeof(int)\s==\s4,\swhile\s\n\s\s\s\s\s\s\s\s\s\s\s\s\s\ssizeof(long)\s==\ssizeof(void*)\s==\s8.\n\nUINT_MAX\sis\s0xffffffff.\n\nThe\sproblem\sis\sthat\s0xfffffffa\s<\sUINT_MAX.\s\sThe\stest\sat\sline\s2108\nof\stclCmdAH.c\sreads:\n\nif\s((unsigned\slong)\sintValue\s>\sUINT_MAX)\n\nThis\stest\sdetects\sthat\s0xfffffffa\scan\sbe\sformatted\swith\s%d\ninstead\sof\s%ld.\s\sIt\scannot.\n\nIn\sany\scase,\sthe\scode\sat\sline\s2211:\n\nsprintf(dst,\snewFormat,\sintValue);\n\nis\ssurely\snot\scorrect.\s\sThe\scase\sthat\swe're\stesting\shere\sgets\sthere\nwith\s"%d"\sin\snewFormat,\sbut\s"intValue"\sis\sa\slong:\sthat\ssurely\scannot\nbe\sexpected\sto\swork!\n
J login kennykb
J mimetype text/plain
J username kennykb
K 219223ffffffffffffffffffffffffffffffffff
U kennykb
Z bf0bd1c00be8317f6e460c6d326d6477