You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/03/22 18:45:15 UTC
[jira] [Resolved] (TS-1718) iconv incorrectly recognized on Solaris
[ https://issues.apache.org/jira/browse/TS-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach resolved TS-1718.
-----------------------------
Resolution: Cannot Reproduce
Assignee: Igor Galić
Igor fixed this in TS-1723 by removing the libiconv dependency.
> iconv incorrectly recognized on Solaris
> ---------------------------------------
>
> Key: TS-1718
> URL: https://issues.apache.org/jira/browse/TS-1718
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: Igor Galić
> Assignee: Igor Galić
>
> A solaris system can have multiple installations of iconv (the most obvious being that of its {{libc}}).
> However, once {{configure}} has successfully identified an iconv, we don't really do anything with that information. Instead we try to replicate it (poorly) in our code.
> Here's an example from {{ink_string.cc}}:
> {code}
> #if !defined(kfreebsd) && (defined(freebsd) || (!defined(__GNUC__) && defined(solaris)))
> if (iconv(ic, &in, &inbytesleft, &out, &outbytesleft) == (size_t) - 1)
> #else
> if (iconv(ic, (char **) &in, &inbytesleft, &out, &outbytesleft) == (size_t) - 1)
> #endif
> {code}
--
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