Skip to content
Tcl Source Code Artifact [7cbb5c02fe]
Login

Artifact [7cbb5c02fe]

Artifact 7cbb5c02fea598d4cf417fc7edb105972ff5393231b398eb50e65413dc25da64:

Ticket change [7cbb5c02fe] - Ticket [85b7226da1ecf619|85b7226da1] <i>scan of data containing 0x, 0b treated differently to 0d,0o</i> status still Open with 3 other changes by jan.nijtmans on 2023-08-29 13:56:27.
D 2023-08-29T13:56:27.281
J icomment It\scould\salso\sbe\sconsidered\sas\sa\sbug\sin\s%o/%d.\sSince\s%x\srecognises\sthe\s"0x"\sprefix\sand\s%b\srecognises\sthe\s"0b"\sprefix,\sI\swould\sexpect\s%d\sto\srecognize\sthe\s"0d"\sprefix\sand\s%o\sthe\s"0o"\sprefix.\r\n\r\nIndeed,\sit's\snot\sconsistant\snow.\sHow\sabout:\r\n\r\n[scan]\sshould\sconsume\sonly\sthe\scharacters\sin\sthe\salphabet\sof\sa\sgiven\sspecifier,\sand\sits\sprefix\s(depending\son\sthe\sgiven\sradix).\r\n\r\nSo\sif\s%x\sis\sgiven,\s"0x"\sis\sthe\sonly\sprefix\srecognised.\sWhen\s%o\sis\sgiven\s"0o"\sis\sthe\sonly\sradix\srecognised.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 85b7226da1ecf6194342f802ff4361bfc75b8a34
U jan.nijtmans
Z 2d449b9c58a4d06fdceba972ca4551b1