Skip to content
Tcl Source Code Check-in [7f1a6f68a7]
Login

Check-in [7f1a6f68a7]

Overview
Comment:If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot be used Tcl_ObjPrintf(), but only in sprintf(). That's unfortunate, clearly an oversight in TIP #237. Conclusion: new TIP must be written to correct this. I'll read a TIP and see what case you have, but TCL_LL_MODIFIER was never meant to play any role in [format] or in Tcl_ObjPrintf(). TCL_LL_MODIFIER exists to help deal with platform differences in sprintf() calls. Tcl_ObjPrintf() in contrast ought to be consistent in its behavior across platforms and should not need such things. If that's false, then fixes to Tcl_ObjPrintf() are in order.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7f1a6f68a709426aacc8ca3b640fdf72c42f4c2a
User & Date: jan.nijtmans on 2017-04-12 13:43:15.045
Original Comment: If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot be used Tcl_ObjPrintf(), but only in sprintf(). That's unfortunate, clearly an oversight in TIP #237. Conclusion: new TIP must be written to correct this.
Other Links: manifest | tags
Context
2017-04-13
12:20
Translate all \u???? sequences to their UTF-8 counterpart in *.msg files: It is faster during parsin... check-in: a6c8a2df48 user: jan.nijtmans tags: trunk
10:00
Merge trunk check-in: 0169fbc878 user: jan.nijtmans tags: tkt3328635-posix-monotonic-clock
2017-04-12
14:33
merge trunk check-in: 50c38d55a8 user: jan.nijtmans tags: novem
13:49
merge trunk. New TIP is getting shape. check-in: 062aba6c2a user: jan.nijtmans tags: z_modifier
13:43
If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot be used Tcl_ObjPrintf(),... check-in: 7f1a6f68a7 user: jan.nijtmans tags: trunk
13:15
Revert recent commit. TIP 237 is clear that %llu is invalid. check-in: 55cb96d9d2 user: dgp tags: trunk
Changes