You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/05/15 22:03:15 UTC

[jira] [Updated] (TS-1899) strtod() on Solaris does not support hex strings

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

Leif Hedstrom updated TS-1899:
------------------------------

    Fix Version/s: 3.3.3
         Assignee: Leif Hedstrom
    
> strtod() on Solaris does not support hex strings
> ------------------------------------------------
>
>                 Key: TS-1899
>                 URL: https://issues.apache.org/jira/browse/TS-1899
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 3.3.3
>
>
> For the ESI plugins, we have a regresion test:
> {code}
>     assert(esi_expr.evaluate("$(HTTP_COOKIE{grade}) < -0x2"));
> {code}
> This fails, because on OmniOS / Solaris, g++ does not seem to think it can / should support hex strings. However, strtold() always conforms to C99/SUSv3 on Solaris, so we can use that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira