Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7a6db21a1077097919b35777bc921a260e17de96ec511ac42746855ad1a90092
Ticket: 9c258a841a03860f24e52283b650c7823da2e8e6
format - undocumented type specifiers + possible bugs
User & Date: jan.nijtmans on 2024-05-31 09:39:27
Changes

  1. icomment:
    I think the documentation problems are corrected now, and the behavior of "j"/"z"/"t" as well. Thanks for the testcases!
    
    Regarding 'hp', it looks like the c99 printf simply ignores the 'h' while we handle it as expected (however useless that is ....). I don't think we should do anything about it.
    
    On %a/%A, I think both Windows and UNIX output look OK, it's not clear from the documentation whether ending '0' digits may be removed or not, that's the difference. I don't think it's important enough to do anything about it.
    
    Regarding 'I'/'I32'/'I64', can you agree on leaving it undocumented but only make it available on Windows?  See: [01e6a242c4fc275c]. It's actually only intended for Tcl_ObjPrintf() on Windows, it doesn't make sense for 'format'.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"