You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (Updated) (JIRA)" <ji...@apache.org> on 2012/01/19 06:44:39 UTC

[jira] [Updated] (TS-1084) enable compile-time format string checking

     [ https://issues.apache.org/jira/browse/TS-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Peach updated TS-1084:
----------------------------

    Attachment: 0001-Add-format-string-checking.patch

Tested on OS X; there's a reasonable probability of build breakage on other platforms. This will need a couple of passes through the build farm to shake it out.
                
> enable compile-time format string checking
> ------------------------------------------
>
>                 Key: TS-1084
>                 URL: https://issues.apache.org/jira/browse/TS-1084
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cleanup
>            Reporter: James Peach
>            Priority: Minor
>         Attachments: 0001-Add-format-string-checking.patch
>
>
> Add format string checking.
>     
> Add format string checking to internal and external APIs that take
> a printf(3) format string. No functional changes.
>     
> Fix all the resulting warnings
>     - time_t is formatted as long long for portability
>     - size_t became %zu
>     - pointers all became %p

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira