<i>macOS 13 SDK deprecates sprintf()</i> status still Closed with 5 other changes
by
.
D 2026-10-06T23:25:38.051
J closedate 2461320.4761348497
J closer chrstphrchvz
J icomment Reopening:\safter\sthis\sticket\swas\sclosed,\sthe\stip-688\sbranch\swas\smerged,\sintroducing\stwo\scalls\sto\s<tt>sprintf()</tt>.\r\n\r\n<pre>\r\ntcl91/generic/tclClockFmt.c:3461:26:\swarning:\s'sprintf'\sis\sdeprecated:\sThis\sfunction\sis\sprovided\sfor\scompatibility\sreasons\sonly.\s\sDue\sto\ssecurity\sconcerns\sinherent\sin\sthe\sdesign\sof\ssprintf(3),\sit\sis\shighly\srecommended\sthat\syou\suse\ssnprintf(3)\sinstead.\s[-Wdeprecated-declarations]\r\n\s3461\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sdateFmt->output\s+=\ssprintf(dateFmt->output,\smap->tostr,\sval);\r\n\s\s\s\s\s\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\ntcl91/generic/tclClockFmt.c:3493:22:\swarning:\s'sprintf'\sis\sdeprecated:\sThis\sfunction\sis\sprovided\sfor\scompatibility\sreasons\sonly.\s\sDue\sto\ssecurity\sconcerns\sinherent\sin\sthe\sdesign\sof\ssprintf(3),\sit\sis\shighly\srecommended\sthat\syou\suse\ssnprintf(3)\sinstead.\s[-Wdeprecated-declarations]\r\n\s3493\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sdateFmt->output\s+=\ssprintf(dateFmt->output,\smap->tostr,\sval);\r\n\s\s\s\s\s\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\n</pre>
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 0cb3554903fc141964afbaaee2602e1fe9906e88
U chrstphrchvz
Z e59ef846c3801ec4df01f5ff9558b43d