You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/05/15 22:07:16 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13658728#comment-13658728 ]
ASF subversion and git services commented on TS-1899:
-----------------------------------------------------
Commit c3adccebc45d804c9ac62f8b7cc94ecbb6c4bdbb in branch refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=c3adcce ]
TS-1899 strtod() does not honor Hex strings on Solaris.
> 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