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] [Created] (TS-1899) strtod() on Solaris does not support hex strings

Leif Hedstrom created TS-1899:
---------------------------------

             Summary: 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


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