Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a7f4073381c89f5abaa148de18fff2caa3beb8416b65dc92966dc79b9967b380
Ticket: 0cb3554903fc141964afbaaee2602e1fe9906e88
macOS 13 SDK deprecates sprintf()
User & Date: chrstphrchvz on 2026-10-06 23:25:38
Changes

  1. closedate changed to: "2461320.4761348497"
  2. closer changed to: "chrstphrchvz"
  3. icomment:
    Reopening: after this ticket was closed, the tip-688 branch was merged, introducing two calls to <tt>sprintf()</tt>.
    
    <pre>
    tcl91/generic/tclClockFmt.c:3461:26: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. &#91;-Wdeprecated-declarations&#93;
     3461 |                     dateFmt-&gt;output += sprintf(dateFmt-&gt;output, map-&gt;tostr, val);
          |                                        ^
    tcl91/generic/tclClockFmt.c:3493:22: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. &#91;-Wdeprecated-declarations&#93;
     3493 |                 dateFmt-&gt;output += sprintf(dateFmt-&gt;output, map-&gt;tostr, val);
          |                                    ^
    </pre>
    
  4. login: "chrstphrchvz"
  5. mimetype: "text/x-fossil-wiki"