trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Call (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TS-4) Compiler warnings on fprintf
Date Sun, 01 Nov 2009 00:58:59 GMT

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

Bryan Call resolved TS-4.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.0a

> Compiler warnings on fprintf
> ----------------------------
>
>                 Key: TS-4
>                 URL: https://issues.apache.org/jira/browse/TS-4
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.0a
>            Reporter: Leif Hedstrom
>            Assignee: Bryan Call
>            Priority: Minor
>             Fix For: 2.0a
>
>
> Another kind of GCC 4.3.x warning (you guys are going to give me commit rights rather
than deal with this I'm sure ;-O )
> Regression.cc: In function 'int rprintf(RegressionTest*, const char*, ...)':
> Regression.cc:194: warning: format not a string literal and no format arguments
> --- libinktomi++/Regression.cc  (revision 831451)
> +++ libinktomi++/Regression.cc  (working copy)
> @@ -190,7 +190,7 @@
>    va_start(ap, format);
>    l = ink_bvsprintf(buffer, format2, ap);
>    va_end(ap);
> -  fprintf(stderr, buffer);
> +  fputs(buffer,stderr);
>    return (l);
>  }
> Stephane Belmon <sbelmon@websense.com>
> Principal Software Engineer
> Websense, inc.
> Stephane: Are there other cases of this, or is this the only one ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message