You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perl debug_prints counts sprintf, which formats a string and prints nothing #3340
spamassassin/Makefile.PL::macro_ref is counted as a debug print, and because it's a short branchless helper with 10 call sites, the #3313 wrapper channel records it as a debug_prints wrapper. It's one of the residual false positives recorded in tests/tools/wrapper_labels.json.
Among registry languages, only perl'sdebug_prints rule matches sprintf(. The C family's rule is \b(printf|fprintf|vprintf|puts|putchar|perror)\b, which excludes it.
Fix
Drop sprintf from perl's debug_prints. Keep printf, print, warn and say, which do write output. debug_prints is still a draft contract row, so do this with the rule's contract audit or as a one-line rule fix with a golden-master check.
Activity
perl: drop sprintf from debug_prints -- it formats, prints nothing (#…
perl: drop sprintf from debug_prints -- it formats, prints nothing (#…
perl: drop sprintf from debug_prints -- it formats, prints nothing (#…