You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2009/11/01 01:56:59 UTC

[jira] Assigned: (TS-4) Compiler warnings on fprintf

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

Bryan Call reassigned TS-4:
---------------------------

    Assignee: Bryan Call

> 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
>
> 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 <sb...@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.